1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00

Ignore non used F keys

This commit is contained in:
James Booth 2012-04-09 23:00:18 +01:00
parent 8408a3ae2b
commit 22dd55b154

View File

@ -228,7 +228,7 @@ static int _printable(const int ch)
ch != KEY_F(1) && ch != KEY_F(2) && ch != KEY_F(3) &&
ch != KEY_F(4) && ch != KEY_F(5) && ch != KEY_F(6) &&
ch != KEY_F(7) && ch != KEY_F(8) && ch != KEY_F(9) &&
ch != KEY_F(10));
ch != KEY_F(10) && ch!= KEY_F(11) && ch != KEY_F(12));
}
static void _replace_input(char *input, const char * const new_input, int *size)