From 94e7e5a446f4ee84f888130009a5ca956259e87f Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 7 Feb 2012 23:11:59 +0000 Subject: [PATCH] Fixed printing function keys --- windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows.c b/windows.c index 86108de6..cbfdd150 100644 --- a/windows.c +++ b/windows.c @@ -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; }