Révision | cd5f70ffce1ad9edaafb24f25cd0bb80e81935ae (tree) |
---|---|
l'heure | 2013-09-24 23:49:48 |
Auteur | Pierre Muller <muller@sour...> |
Commiter | Pierre Muller |
* readline.c (bind_arrow_keys_internal):
Handle VK_HOME, VK_END, VK_DELETE and VK_INSERT for mingw
hosts.
@@ -1,3 +1,9 @@ | ||
1 | +2013-09-24 Pierre Muller <muller@sourceware.org> | |
2 | + | |
3 | + * readline.c (bind_arrow_keys_internal): | |
4 | + Handle VK_HOME, VK_END, VK_DELETE and VK_INSERT for mingw | |
5 | + hosts. | |
6 | + | |
1 | 7 | 2013-09-23 Martin Benda <martin.benda@omsquare.com> |
2 | 8 | |
3 | 9 | Checked in by Joel Brobecker <brobecker@adacore.com> |
@@ -1159,6 +1159,10 @@ bind_arrow_keys_internal (map) | ||
1159 | 1159 | rl_bind_keyseq_if_unbound ("\340P", rl_get_next_history); |
1160 | 1160 | rl_bind_keyseq_if_unbound ("\340M", rl_forward_char); |
1161 | 1161 | rl_bind_keyseq_if_unbound ("\340K", rl_backward_char); |
1162 | + rl_bind_keyseq_if_unbound ("\340G", rl_beg_of_line); | |
1163 | + rl_bind_keyseq_if_unbound ("\340O", rl_end_of_line); | |
1164 | + rl_bind_keyseq_if_unbound ("\340S", rl_delete); | |
1165 | + rl_bind_keyseq_if_unbound ("\340R", rl_overwrite_mode); | |
1162 | 1166 | #endif |
1163 | 1167 | |
1164 | 1168 | _rl_keymap = xkeymap; |