mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 08:26:21 +00:00
Listen only for mouse events we're interested in
This commit is contained in:
@@ -107,7 +107,7 @@ gui_init(void)
|
|||||||
initscr();
|
initscr();
|
||||||
cbreak();
|
cbreak();
|
||||||
keypad(stdscr, TRUE);
|
keypad(stdscr, TRUE);
|
||||||
mousemask(ALL_MOUSE_EVENTS, NULL);
|
mousemask(BUTTON2_PRESSED | BUTTON4_PRESSED, NULL);
|
||||||
mouseinterval(5);
|
mouseinterval(5);
|
||||||
|
|
||||||
if (has_colors()) {
|
if (has_colors()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user