diff options
Diffstat (limited to 'payloads/coreinfo')
-rw-r--r-- | payloads/coreinfo/coreinfo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c index 193da3d2d4..6055925f13 100644 --- a/payloads/coreinfo/coreinfo.c +++ b/payloads/coreinfo/coreinfo.c @@ -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); |