1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Listen only for mouse events we're interested in

This commit is contained in:
James Booth 2012-11-20 21:03:59 +00:00
parent dda57fcd8e
commit a3da391bfe

View File

@ -107,7 +107,7 @@ gui_init(void)
initscr();
cbreak();
keypad(stdscr, TRUE);
mousemask(ALL_MOUSE_EVENTS, NULL);
mousemask(BUTTON2_PRESSED | BUTTON4_PRESSED, NULL);
mouseinterval(5);
if (has_colors()) {