about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-03 02:35:19 +0000
committerJames Booth <boothj5@gmail.com>2015-01-03 02:35:19 +0000
commitf5e5315125e619acfe49de25a0f7064a83ef9ece (patch)
tree95126c25b76734a3e8a78e98acbe609a6cff0f49
parentad1460626f368e6bbd0903b7da6d3db37e5e2fe3 (diff)
downloadprofani-tty-f5e5315125e619acfe49de25a0f7064a83ef9ece.tar.gz
Updated CHANGELOG and navigation help
-rw-r--r--CHANGELOG1
-rw-r--r--src/ui/console.c24
2 files changed, 17 insertions, 8 deletions
diff --git a/CHANGELOG b/CHANGELOG
index af1cf2ad..645b1d79 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -8,3 +8,4 @@
 - Show or hide and customise roster panel (/roster)
 - /account remove
 - Added default account for /connect
+- Additional readline style shortcuts
diff --git a/src/ui/console.c b/src/ui/console.c
index f227dcef..3d3a5d8b 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1393,15 +1393,23 @@ cons_navigation_help(void)
     cons_show("");
     cons_show("Navigation:");
     cons_show("");
-    cons_show("Alt-1 (F1)                       : This console window.");
-    cons_show("Alt-2..Alt-0 (F2..F10)           : Chat windows.");
-    cons_show("Alt-LEFT                         : Previous chat window");
-    cons_show("Alt-RIGHT                        : Next chat window");
+    cons_show("Alt-1                            : This console window.");
+    cons_show("F1                               : This console window.");
+    cons_show("Alt-2..Alt-0                     : Chat windows.");
+    cons_show("F2..F10                          : Chat windows.");
+    cons_show("Alt-LEFT, Alt-RIGHT              : Previous/next chat window");
     cons_show("UP, DOWN                         : Navigate input history.");
-    cons_show("LEFT, RIGHT, HOME, END           : Move cursor in current input.");
-    cons_show("Ctrl-LEFT, Ctrl-RIGHT            : Jump word in input.");
-    cons_show("Ctrl-w, Alt-Backspace            : Delete previous word in input.");
+    cons_show("Ctrl-n, Ctrl-p                   : Navigate input history.");
+    cons_show("LEFT, RIGHT, HOME, END           : Move cursor.");
+    cons_show("Ctrl-b, Ctrl-f, Ctrl-a, Ctrl-e   : Move cursor.");
+    cons_show("Ctrl-LEFT, Ctrl-RIGHT            : Jump word.");
+    cons_show("Ctrl-w                           : Delete previous word.");
+    cons_show("Alt-Backspace                    : Delete previous word.");
+    cons_show("Backspace                        : Delete previous character.");
+    cons_show("DEL                              : Delete next character.");
+    cons_show("Ctrl-d                           : Delete next character.");
     cons_show("ESC                              : Clear current input.");
+    cons_show("Ctrl-u                           : Delete all previous characters.");
     cons_show("TAB                              : Autocomplete.");
     cons_show("PAGE UP, PAGE DOWN               : Page the main window.");
     cons_show("Shift-UP, Shift-DOWN             : Page occupants/roster panel.");
@@ -1620,4 +1628,4 @@ _show_roster_contacts(GSList *list, gboolean show_groups)
 
         curr = g_slist_next(curr);
     }
-}
\ No newline at end of file
+}