mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
Ignore the signal SIGWINCH in the grub shell.
This commit is contained in:
1 parent
502a79c799
commit
4232395f9f
3 files changed
+10
-1
No files matched your search
@@ -41,6 +41,7 @@ int grub_stage2 (void);
|
||||
#include <setjmp.h>
|
||||
#include <sys/time.h>
|
||||
#include <termios.h>
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef __linux__
|
||||
# include <sys/ioctl.h> /* ioctl */
|
||||
@@ -168,6 +169,7 @@ grub_stage2 (void)
|
||||
scrollok (stdscr, TRUE);
|
||||
keypad (stdscr, TRUE);
|
||||
wtimeout (stdscr, 100);
|
||||
signal (SIGWINCH, SIG_IGN);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user