stop showing unhandled keycodes in status

This commit is contained in:
Enno Rehling 2020-06-27 18:28:42 +02:00 committed by Enno Rehling
parent 15f2e014d2
commit c35ba4cf92
1 changed files with 0 additions and 9 deletions

View File

@ -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;
}
}