1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Fixed printing function keys

This commit is contained in:
James Booth 2012-02-07 23:11:59 +00:00
parent e2665944cb
commit 94e7e5a446

View File

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