aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-07-08 23:25:21 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-07-08 23:25:21 +0530
commitb0a60cfe64866cbe013792ba76d4c5ce4f2486ed (patch)
tree78225486739316a36259de93438c8d1d036b0a47 /src/nnn.c
parent1b2093040ac5675a6142ad587864e91a72373219 (diff)
downloadnnn-b0a60cfe64866cbe013792ba76d4c5ce4f2486ed.tar.gz
Set mouse interval
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 7e6cebd..5f06843 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -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();