about summary refs log tree commit diff stats
path: root/src/ui/console.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-05-25 00:21:27 +0100
committerJames Booth <boothj5@gmail.com>2016-05-25 00:21:27 +0100
commit94212cd01ca87e26a06af4dfbc7b48087c1ef79c (patch)
treeb0d15dd485312b13170897d1bbaa5b51ebd80a27 /src/ui/console.c
parent6559263b2fed1edc6b004dc3e50697600e450b9b (diff)
downloadprofani-tty-94212cd01ca87e26a06af4dfbc7b48087c1ef79c.tar.gz
Update window navigation help
Diffstat (limited to 'src/ui/console.c')
-rw-r--r--src/ui/console.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index ebbddd70..207db949 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -2058,15 +2058,18 @@ cons_help(void)
 void
 cons_navigation_help(void)
 {
-    int pad = strlen("Alt-PAGEUP, Alt-PAGEDOWN") + 3;
     ProfWin *console = wins_get_console();
     cons_show("");
     win_print(console, '-', 0, NULL, 0, THEME_WHITE_BOLD, "", "Navigation");
-    cons_show_padded(pad, "Alt-1..Alt-0, F1..F10    : Choose window.");
-    cons_show_padded(pad, "Alt-LEFT, Alt-RIGHT      : Previous/next chat window");
-    cons_show_padded(pad, "PAGEUP, PAGEDOWN         : Page the main window.");
-    cons_show_padded(pad, "Alt-PAGEUP, Alt-PAGEDOWN : Page occupants/roster panel.");
+    cons_show("Alt-1..Alt-0, F1..F10    : Choose window.");
+    cons_show("Alt-LEFT, Alt-RIGHT      : Previous/next chat window.");
+    cons_show("PAGEUP, PAGEDOWN         : Page the main window.");
+    cons_show("Alt-PAGEUP, Alt-PAGEDOWN : Page occupants/roster panel.");
     cons_show("");
+    cons_show("/win <n>     : Focus window n, where n is the window number.");
+    cons_show("/win <name>  : Focus window with name, where name is the recipient, room or window title.");
+    cons_show("");
+    cons_show("See '/help win' for more information.");
 
     cons_alert();
 }