diff options
author | Pierre Muller <muller@sourceware.org> | 2013-09-24 14:49:48 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2013-09-24 14:49:48 +0000 |
commit | cd5f70ffce1ad9edaafb24f25cd0bb80e81935ae (patch) | |
tree | dbe58b2dda855f1610181f290c8c570f1daa50b3 /readline/readline.c | |
parent | 3ee2c4af0f21461334dcc577f4a3b8dd46a4884e (diff) | |
download | gdb-cd5f70ffce1ad9edaafb24f25cd0bb80e81935ae.zip gdb-cd5f70ffce1ad9edaafb24f25cd0bb80e81935ae.tar.gz gdb-cd5f70ffce1ad9edaafb24f25cd0bb80e81935ae.tar.bz2 |
* readline.c (bind_arrow_keys_internal):
Handle VK_HOME, VK_END, VK_DELETE and VK_INSERT for mingw
hosts.
Diffstat (limited to 'readline/readline.c')
-rw-r--r-- | readline/readline.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/readline/readline.c b/readline/readline.c index f2e4d93..071e1aa 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; |