summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-05-13 20:07:03 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-05-13 20:07:03 +0000
commitf62f83a5e588eb5ec1577005dd6319024c72dca4 (patch)
tree6653ec2fecc4aefa0d6eeab5d64c2a0de70f5327 /usr.bin/tmux
parenta150abc782d66397fe34fd3abac9251bb7261e7a (diff)
Always include Lock in the menu.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/format.c b/usr.bin/tmux/format.c
index 155ef81d239..9cf76987eef 100644
--- a/usr.bin/tmux/format.c
+++ b/usr.bin/tmux/format.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: format.c,v 1.193 2019/05/10 18:09:51 nicm Exp $ */
+/* $OpenBSD: format.c,v 1.194 2019/05/13 20:07:02 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -60,7 +60,7 @@ static void format_defaults_winlink(struct format_tree *, struct winlink *);
"Detach & Kill,X,detach-client -P|" \
"Detach Others,o,detach-client -a|" \
"|" \
- "#{?#{lock-command},Lock,},l,lock-client"
+ "Lock,l,lock-client"
#define DEFAULT_SESSION_MENU \
"Next,n,switch-client -n|" \
"Previous,p,switch-client -p|" \