summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2023-04-25 17:23:32 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2023-04-25 17:23:32 +0100
commit0ff991b25faf6a88edb356e2ea0ba80151eecb79 (patch)
treef3a67c4118672942bab0d53edf3a6934cae2fbb8 /tmux.h
parent15c70e562c4967a6085ac2296e9f649e1c277fb9 (diff)
Set default lock command to vlock on Linux if present at build time, from Josh
Boyer in GitHub issue 3527.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index ff77f780..7a61279a 100644
--- a/tmux.h
+++ b/tmux.h
@@ -81,6 +81,9 @@ struct winlink;
#ifndef TMUX_TERM
#define TMUX_TERM "screen"
#endif
+#ifndef TMUX_LOCK_CMD
+#define TMUX_LOCK_CMD "lock -np"
+#endif
/* Minimum layout cell size, NOT including border lines. */
#define PANE_MINIMUM 1