* grub-core/term/terminfo.c (grub_terminfo_readkey): Increase timeout

because of network consoles.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-04-26 18:57:22 +02:00
parent 0f42c8898f
commit 147fbcab72
2 changed files with 6 additions and 1 deletions

View file

@ -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> 2012-04-26 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/term/terminfo.c (grub_terminfo_getkey): Fix incorrect queue * grub-core/term/terminfo.c (grub_terminfo_getkey): Fix incorrect queue

View file

@ -400,7 +400,7 @@ grub_terminfo_readkey (struct grub_term_input *term, int *keys, int *len,
start = grub_get_time_ms (); \ start = grub_get_time_ms (); \
do \ do \
c = readkey (term); \ c = readkey (term); \
while (c == -1 && grub_get_time_ms () - start < 12); \ while (c == -1 && grub_get_time_ms () - start < 100); \
if (c == -1) \ if (c == -1) \
return; \ return; \
\ \