aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-09-06 19:42:02 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-09-06 19:51:30 +0530
commit776c94a74481c6b67e0f62327eb41374fe353207 (patch)
tree4c51cbc85251cf4059099de8beb53a565a32bce4 /nnn.c
parent028e04abd35d2c306b27b445e4be59329f57d88f (diff)
downloadnnn-776c94a74481c6b67e0f62327eb41374fe353207.tar.gz
Integrate bashlock and lock
Diffstat (limited to 'nnn.c')
-rw-r--r--nnn.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nnn.c b/nnn.c
index a8bbfc0..bb40085 100644
--- a/nnn.c
+++ b/nnn.c
@@ -1953,9 +1953,7 @@ show_help(char *path)
"d^Y | Toggle multi-copy\n"
"d^T | Toggle path quote\n"
"d^L | Redraw, clear prompt\n"
-#ifdef __linux__
"eL | Lock terminal\n"
-#endif
"e? | Help, settings\n"
"aQ, ^G | Quit and cd\n"
"aq, ^X | Quit\n\n"};
@@ -3241,11 +3239,9 @@ nochange:
run = editor ? editor : xgetenv("EDITOR", "vi");
spawn(run, dents[cur].name, NULL, path, F_NORMAL);
break;
-#ifdef __linux__
case SEL_LOCK:
spawn(player, "", "screensaver", NULL, F_NORMAL | F_SIGINT);
break;
-#endif
case SEL_CDQUIT:
{
tmp = getenv("NNN_TMPFILE");