1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Attempt to stop mouse click blocking input

This commit is contained in:
James Booth 2012-11-26 21:19:35 +00:00
parent 0e178ab411
commit 1adc79ba35

View File

@ -107,11 +107,7 @@ ui_init(void)
initscr();
raw();
keypad(stdscr, TRUE);
#ifdef PLATFORM_CYGWIN
mousemask(BUTTON5_PRESSED | BUTTON4_PRESSED, NULL);
#else
mousemask(BUTTON2_PRESSED | BUTTON4_PRESSED, NULL);
#endif
mousemask(ALL_MOUSE_EVENTS, NULL);
mouseinterval(5);
ui_load_colours();
refresh();