Skip to content

Commit

Permalink
write keycode to log
Browse files Browse the repository at this point in the history
  • Loading branch information
okbob committed Apr 17, 2024
1 parent f5bd3f3 commit a40cc32
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/inputs.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,7 @@ get_ncurses_event(NCursesEventData *nced, bool *sigint, bool *sigwinch)

#endif

#ifdef DEBUG_PIPE

fprintf(debug_pipe, "*** keycode: %d, err: %d\n", nced->keycode, errno);

#endif
log_row("*** keycode: %d, err: %d", nced->keycode, errno);

if (errno == EINTR)
{
Expand Down

0 comments on commit a40cc32

Please sign in to comment.