mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +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
@@ -561,7 +561,7 @@ grub_terminfo_readkey (struct grub_term_input *term, int *keys, int *len,
|
||||
CONTINUE_READ;
|
||||
if (c != '~')
|
||||
return;
|
||||
keys[0] = three_code_table[i].ascii;
|
||||
keys[0] = four_code_table[i].ascii;
|
||||
*len = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user