* grub-core/term/terminfo.c: Add sequences for home and end.

This commit is contained in:
Vladimir Serbinenko 2013-11-05 02:44:31 +01:00
parent 386571a24b
commit 810f991b9e
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-11-05 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/term/terminfo.c: Add sequences for home and end.
2013-11-05 Vladimir Serbinenko <phcoder@gmail.com> 2013-11-05 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/legacy_parse.c: Fix handling of hercules and add * grub-core/lib/legacy_parse.c: Fix handling of hercules and add

View file

@ -470,7 +470,9 @@ grub_terminfo_readkey (struct grub_term_input *term, int *keys, int *len,
{'1', GRUB_TERM_KEY_HOME}, {'1', GRUB_TERM_KEY_HOME},
{'3', GRUB_TERM_KEY_DC}, {'3', GRUB_TERM_KEY_DC},
{'5', GRUB_TERM_KEY_PPAGE}, {'5', GRUB_TERM_KEY_PPAGE},
{'6', GRUB_TERM_KEY_NPAGE} {'6', GRUB_TERM_KEY_NPAGE},
{'7', GRUB_TERM_KEY_HOME},
{'8', GRUB_TERM_KEY_END}
}; };
char fx_key[] = char fx_key[] =
{ 'P', 'Q', 'w', 'x', 't', 'u', { 'P', 'Q', 'w', 'x', 't', 'u',