mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 08:06:21 +00:00
Fixed printing function keys
This commit is contained in:
@@ -113,7 +113,7 @@ void inp_poll_char(int *ch, char command[], int *size)
|
||||
}
|
||||
|
||||
// else if not error or newline, show it and store it
|
||||
else if (*ch != ERR && *ch != '\n') {
|
||||
else if (*ch != ERR && *ch != '\n' && *ch != KEY_F(1) && *ch != KEY_F(2)) {
|
||||
waddch(inp_win, *ch);
|
||||
command[(*size)++] = *ch;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user