mirror of
https://git.proxmox.com/git/grub2
synced 2025-05-28 10:52:27 +00:00
* grub-core/term/terminfo.c (grub_terminfo_readkey): Increase timeout
because of network consoles.
This commit is contained in:
parent
0f42c8898f
commit
147fbcab72
@ -1,3 +1,8 @@
|
||||
2012-04-26 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/term/terminfo.c (grub_terminfo_readkey): Increase timeout
|
||||
because of network consoles.
|
||||
|
||||
2012-04-26 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/term/terminfo.c (grub_terminfo_getkey): Fix incorrect queue
|
||||
|
@ -400,7 +400,7 @@ grub_terminfo_readkey (struct grub_term_input *term, int *keys, int *len,
|
||||
start = grub_get_time_ms (); \
|
||||
do \
|
||||
c = readkey (term); \
|
||||
while (c == -1 && grub_get_time_ms () - start < 12); \
|
||||
while (c == -1 && grub_get_time_ms () - start < 100); \
|
||||
if (c == -1) \
|
||||
return; \
|
||||
\
|
||||
|
Loading…
Reference in New Issue
Block a user