Skip to content

Commit

Permalink
stop showing unhandled keycodes in status
Browse files Browse the repository at this point in the history
  • Loading branch information
ennorehling committed Jun 27, 2020
1 parent 1619c9b commit ce5cbf6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/gmtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -1512,15 +1512,6 @@ static void handlekey(state * st, int c)
break;
}
}
if (wnd == NULL) {
static char kbuffer[80];
if (kbuffer[0] == 0 || strlen(kbuffer) > 70) {
strcpy(kbuffer, "getch:");
}
snprintf(sbuffer, 10, " 0x%x", c);
strncat(kbuffer, sbuffer, sizeof(kbuffer) - 1);
statusline(st->wnd_status->handle, kbuffer);
}
break;
}
}
Expand Down

0 comments on commit ce5cbf6

Please sign in to comment.