Add KEY_ESC (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3342 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
4cc35fdfa9
commit
29413c76ab
|
@ -22,6 +22,8 @@
|
|||
#define SCREEN_Y 25
|
||||
#define SCREEN_X 80
|
||||
|
||||
#define KEY_ESC 27
|
||||
|
||||
extern struct coreinfo_module cpuinfo_module;
|
||||
extern struct coreinfo_module pci_module;
|
||||
extern struct coreinfo_module coreboot_module;
|
||||
|
@ -256,7 +258,7 @@ static void loop(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (key == 0x1B)
|
||||
if (key == KEY_ESC)
|
||||
return;
|
||||
|
||||
handle_category_key(&categories[curwin], key);
|
||||
|
|
Loading…
Reference in New Issue