Set mouse interval

This commit is contained in:
Arun Prakash Jana 2019-07-08 23:25:21 +05:30
parent 1b2093040a
commit b0a60cfe64
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 0 deletions

View File

@ -891,6 +891,7 @@ static bool initcurses(void)
//intrflush(stdscr, FALSE);
keypad(stdscr, TRUE);
mousemask(BUTTON1_CLICKED | BUTTON1_DOUBLE_CLICKED | BUTTON2_CLICKED, NULL);
mouseinterval(400);
curs_set(FALSE); /* Hide cursor */
start_color();
use_default_colors();