Set default lock command to vlock on Linux if present at build time, from Josh

Boyer in GitHub issue 3527.
This commit is contained in:
Nicholas Marriott
2023-04-25 17:23:32 +01:00
parent 15c70e562c
commit 0ff991b25f
4 changed files with 18 additions and 1 deletions

3
tmux.h
View File

@ -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