mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Fixed printing function keys
This commit is contained in:
parent
e2665944cb
commit
94e7e5a446
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user