From: Pierre Muller Date: Tue, 24 Sep 2013 14:49:48 +0000 (+0000) Subject: * readline.c (bind_arrow_keys_internal): X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd5f70ffce1ad9edaafb24f25cd0bb80e81935ae;p=binutils-gdb.git * readline.c (bind_arrow_keys_internal): Handle VK_HOME, VK_END, VK_DELETE and VK_INSERT for mingw hosts. --- diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb index 972d69c40d3..1218fd7ee2d 100644 --- a/readline/ChangeLog.gdb +++ b/readline/ChangeLog.gdb @@ -1,3 +1,9 @@ +2013-09-24 Pierre Muller + + * readline.c (bind_arrow_keys_internal): + Handle VK_HOME, VK_END, VK_DELETE and VK_INSERT for mingw + hosts. + 2013-09-23 Martin Benda Checked in by Joel Brobecker diff --git a/readline/readline.c b/readline/readline.c index f2e4d933dfe..071e1aa082e 100644 --- a/readline/readline.c +++ b/readline/readline.c @@ -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;