aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index f5ee933..76d448b 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -631,7 +631,7 @@ static const char * const patterns[] = {
/* Event handling */
#ifdef LINUX_INOTIFY
-#define NUM_EVENT_SLOTS 8 /* Make room for 8 events */
+#define NUM_EVENT_SLOTS 32 /* Make room for 8 events */
#define EVENT_SIZE (sizeof(struct inotify_event))
#define EVENT_BUF_LEN (EVENT_SIZE * NUM_EVENT_SLOTS)
static int inotify_fd, inotify_wd = -1;