* readline.c (bind_arrow_keys_internal):
authorPierre Muller <muller@sourceware.org>
Tue, 24 Sep 2013 14:49:48 +0000 (14:49 +0000)
committerPierre Muller <muller@sourceware.org>
Tue, 24 Sep 2013 14:49:48 +0000 (14:49 +0000)
Handle VK_HOME, VK_END, VK_DELETE and VK_INSERT for mingw
hosts.

readline/ChangeLog.gdb
readline/readline.c

index 972d69c40d3646ae7d420fa5926eba0545df69d5..1218fd7ee2d6613f6a51e3c63216e7eea86ff1aa 100644 (file)
@@ -1,3 +1,9 @@
+2013-09-24  Pierre Muller  <muller@sourceware.org>
+
+       * readline.c (bind_arrow_keys_internal):
+       Handle VK_HOME, VK_END, VK_DELETE and VK_INSERT for mingw
+       hosts.
+
 2013-09-23  Martin Benda  <martin.benda@omsquare.com>
 
        Checked in by Joel Brobecker  <brobecker@adacore.com>
index f2e4d933dfe6fe2784d53ee7687743c5799aaad4..071e1aa082e1ea13748e3beb57366c6dd6287a68 100644 (file)
@@ -1159,6 +1159,10 @@ bind_arrow_keys_internal (map)
   rl_bind_keyseq_if_unbound ("\340P", rl_get_next_history);
   rl_bind_keyseq_if_unbound ("\340M", rl_forward_char);
   rl_bind_keyseq_if_unbound ("\340K", rl_backward_char);
+  rl_bind_keyseq_if_unbound ("\340G", rl_beg_of_line);
+  rl_bind_keyseq_if_unbound ("\340O", rl_end_of_line);
+  rl_bind_keyseq_if_unbound ("\340S", rl_delete);
+  rl_bind_keyseq_if_unbound ("\340R", rl_overwrite_mode);
 #endif
 
   _rl_keymap = xkeymap;