From ef45298f44e94756ae195e9b86c5f69ffc308904 Mon Sep 17 00:00:00 2001 From: "okbob@github.com" Date: Mon, 22 Apr 2024 20:12:52 +0200 Subject: [PATCH] remove dead code --- src/inputs.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/inputs.c b/src/inputs.c index fda16b2..0e32779 100644 --- a/src/inputs.c +++ b/src/inputs.c @@ -326,13 +326,6 @@ get_ncurses_event(NCursesEventData *nced, bool *sigint, bool *sigwinch) } } - /* - * Workaround for issue #204. MacOS returns ERR when there are not - * any other activity after ESC in ESCDELAY limit. - */ - if (nced->keycode == ERR && !first_event && errno == 0) - nced->keycode = PSPG_NOTASSIGNED_CODE; - #if PDCURSES nced->alt = is_alt(&nced->keycode);