sources/interface.cpp

changeset 28
3cc042af3090
parent 27
089e37c0887e
child 29
e534f2f78196
--- a/sources/interface.cpp	Mon Dec 15 01:41:06 2014 +0200
+++ b/sources/interface.cpp	Mon Dec 15 01:47:40 2014 +0200
@@ -289,14 +289,14 @@
 
 	if (session == nullptr)
 	{
-		text = "[DISCONNECTED]";
+		text = "";
 	}
 	else
 	{
 		switch (session->state())
 		{
 		case RCON_DISCONNECTED:
-			text = "[DISCONNECTED]";
+			text = "Disconnected.";
 			break;
 
 		case RCON_CONNECTING:
@@ -320,6 +320,11 @@
 		}
 	}
 
+	if (not text.is_empty())
+		text += " | ";
+
+	text += "^N to connect, ^Q to quit";
+
 	if (text != g_statusBarText)
 	{
 		g_statusBarText = text;

mercurial