diff --git a/tui.c b/tui.c index 2dfac57..b5861d8 100644 --- a/tui.c +++ b/tui.c @@ -446,8 +446,8 @@ void tui_init(Engine *engine) { curs_set(0); // Hide cursor // Enable mouse events - mousemask(ALL_MOUSE_EVENTS | REPORT_MOUSE_POSITION, NULL); - mouseinterval(0); // No click delay + mousemask(BUTTON1_CLICKED | BUTTON3_CLICKED | BUTTON2_CLICKED | BUTTON1_DOUBLE_CLICKED, NULL); + mouseinterval(10); // 10ms click interval // Initialize colors if (has_colors()) {