diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-02-14 08:21:30 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-02-14 08:21:30 +0530 |
commit | e664b2d29f67724789d3a4a083ef07c13bec8904 (patch) | |
tree | 2f911f59c2db1413304d1c2466789eb250c541d1 /src/nnn.h | |
parent | a0339adf840c0a5233fa2046e805c907c8ae8479 (diff) | |
download | nnn-e664b2d29f67724789d3a4a083ef07c13bec8904.tar.gz |
Compile option O_NOMOUSE to disable mouse support
Diffstat (limited to 'src/nnn.h')
-rw-r--r-- | src/nnn.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 }; |