mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
* grub-core/term/terminfo.c (grub_terminfo_readkey): Fix
usage of wrong table which resulted in mishandling of 4-byte sequences.
This commit is contained in:
1 parent
2237daf246
commit
e84f818865
2 files changed
+8
-2
No files matched your search
@@ -1,4 +1,10 @@
|
|||||||
2013-09-27 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-09-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/term/terminfo.c (grub_terminfo_readkey): Fix
|
||||||
|
usage of wrong table which resulted in mishandling of 4-byte
|
||||||
|
sequences.
|
||||||
|
|
||||||
|
2013-09-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/term/terminfo.c: Add Home and End key sequences.
|
* grub-core/term/terminfo.c: Add Home and End key sequences.
|
||||||
|
|
||||||
|
|||||||
@@ -561,7 +561,7 @@ grub_terminfo_readkey (struct grub_term_input *term, int *keys, int *len,
|
|||||||
CONTINUE_READ;
|
CONTINUE_READ;
|
||||||
if (c != '~')
|
if (c != '~')
|
||||||
return;
|
return;
|
||||||
keys[0] = three_code_table[i].ascii;
|
keys[0] = four_code_table[i].ascii;
|
||||||
*len = 1;
|
*len = 1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user