aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnn.h')
-rw-r--r--src/nnn.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nnn.h b/src/nnn.h
index 168b43b..3763883 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -96,7 +96,9 @@ enum action {
SEL_QUITCD,
SEL_QUIT,
SEL_QUITFAIL,
+#ifndef NOMOUSE
SEL_CLICK,
+#endif
};
/* Associate a pressed key to an action */
@@ -245,5 +247,7 @@ static struct key bindings[] = {
{ CONTROL('Q'), SEL_QUIT },
/* Quit with an error code */
{ 'Q', SEL_QUITFAIL },
+#ifndef NOMOUSE
{ KEY_MOUSE, SEL_CLICK },
+#endif
};