* grub-core/term/terminfo.c (grub_terminfo_readkey): Increase timeout
because of network consoles.
This commit is contained in:
parent
0f42c8898f
commit
147fbcab72
2 changed files with 6 additions and 1 deletions
|
@ -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 a new issue