Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
okbob committed Apr 22, 2024
1 parent a40cc32 commit ef45298
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/inputs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ef45298

Please sign in to comment.