about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-04-09 23:43:12 +0100
committerJames Booth <boothj5@gmail.com>2012-04-09 23:43:12 +0100
commit0557f78d36572562cfec38042dbc50fa1bc90a20 (patch)
treee4675f37a247b1f526e0855ec66fdf42cac76440
parent9450c8f2fabcdff7f1c8086970b7dc191580db1f (diff)
downloadprofani-tty-0557f78d36572562cfec38042dbc50fa1bc90a20.tar.gz
Ignore INS key
-rw-r--r--input_win.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/input_win.c b/input_win.c
index 96576070..34a67ac5 100644
--- a/input_win.c
+++ b/input_win.c
@@ -249,7 +249,8 @@ 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(11) && ch != KEY_F(12));
+            ch != KEY_F(10) && ch!= KEY_F(11) && ch != KEY_F(12) &&
+            ch != KEY_IC && ch != KEY_EIC);
 }
 
 static void _replace_input(char *input, const char * const new_input, int *size)