forked from github/server
stop showing unhandled keycodes in status
This commit is contained in:
parent
15f2e014d2
commit
c35ba4cf92
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue