about summary refs log tree commit diff stats
path: root/src/input_win.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-11-20 01:53:30 +0000
committerJames Booth <boothj5@gmail.com>2012-11-20 01:53:30 +0000
commit1711a426f84b59f6f0507401f857d2faf09ff622 (patch)
tree893d0bc6469c1f554a1cf3ba0bfc66d4554ede40 /src/input_win.c
parent306965501ac2cc76454ea71c6ed4f126e02100b2 (diff)
downloadprofani-tty-1711a426f84b59f6f0507401f857d2faf09ff622.tar.gz
Added basic mouse wheel handling
Diffstat (limited to 'src/input_win.c')
-rw-r--r--src/input_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_win.c b/src/input_win.c
index 7d5a7485..fa61e1e3 100644
--- a/src/input_win.c
+++ b/src/input_win.c
@@ -367,7 +367,7 @@ static int
 _printable(const int ch)
 {
    return (ch != ERR && ch != '\n' &&
-            ch != KEY_PPAGE && ch != KEY_NPAGE &&
+            ch != KEY_PPAGE && ch != KEY_NPAGE && ch != KEY_MOUSE &&
             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) &&