summaryrefslogtreecommitdiffstats
path: root/CommandLine.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2022-08-09 20:12:08 +0200
committerBenBE <BenBE@geshi.org>2022-08-10 07:46:15 +0200
commit1b5e0071bb210db67c6c846b9c91926fb6073852 (patch)
treedd87a1cc91008b01b551b0e2f2db2102ef528381 /CommandLine.c
parenta7b7de829689b6981dc92a3b5f55feedb35076d2 (diff)
Restore non mouse support
Closes: #1061
Diffstat (limited to 'CommandLine.c')
-rw-r--r--CommandLine.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/CommandLine.c b/CommandLine.c
index 9749158b..ee9047d2 100644
--- a/CommandLine.c
+++ b/CommandLine.c
@@ -79,7 +79,9 @@ typedef struct CommandLineSettings_ {
int sortKey;
int delay;
bool useColors;
+#ifdef HAVE_GETMOUSE
bool enableMouse;
+#endif
bool treeView;
bool allowUnicode;
bool highlightChanges;
@@ -96,7 +98,9 @@ static CommandLineStatus parseArguments(const char* program, int argc, char** ar
.sortKey = 0,
.delay = -1,
.useColors = true,
+#ifdef HAVE_GETMOUSE
.enableMouse = true,
+#endif
.treeView = false,
.allowUnicode = true,
.highlightChanges = false,

© 2014-2024 Faster IT GmbH | imprint | privacy policy