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:
parent
0e178ab411
commit
1adc79ba35
@ -107,11 +107,7 @@ ui_init(void)
|
|||||||
initscr();
|
initscr();
|
||||||
raw();
|
raw();
|
||||||
keypad(stdscr, TRUE);
|
keypad(stdscr, TRUE);
|
||||||
#ifdef PLATFORM_CYGWIN
|
mousemask(ALL_MOUSE_EVENTS, NULL);
|
||||||
mousemask(BUTTON5_PRESSED | BUTTON4_PRESSED, NULL);
|
|
||||||
#else
|
|
||||||
mousemask(BUTTON2_PRESSED | BUTTON4_PRESSED, NULL);
|
|
||||||
#endif
|
|
||||||
mouseinterval(5);
|
mouseinterval(5);
|
||||||
ui_load_colours();
|
ui_load_colours();
|
||||||
refresh();
|
refresh();
|
||||||
|
Loading…
Reference in New Issue
Block a user