diff options
author | 2019-05-28 09:50:54 +0000 | |
---|---|---|
committer | 2019-05-28 09:50:54 +0000 | |
commit | f05a5af36297c22226964f73f6a6614817252da4 (patch) | |
tree | 555d4cfd296e7abffc18ac3d5535d312a565a20b /usr.bin/tmux/key-bindings.c | |
parent | Enable virtio again since the compilation problems have been fixed. (diff) | |
download | wireguard-openbsd-f05a5af36297c22226964f73f6a6614817252da4.tar.xz wireguard-openbsd-f05a5af36297c22226964f73f6a6614817252da4.zip |
Allow menu items to be disabled by putting a - at the start of their
name, rather than just including #[dim] which still allowed them to be
chosen.
Diffstat (limited to 'usr.bin/tmux/key-bindings.c')
-rw-r--r-- | usr.bin/tmux/key-bindings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/key-bindings.c b/usr.bin/tmux/key-bindings.c index d80e808ba43..e63aea45eb6 100644 --- a/usr.bin/tmux/key-bindings.c +++ b/usr.bin/tmux/key-bindings.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key-bindings.c,v 1.95 2019/05/28 07:18:42 nicm Exp $ */ +/* $OpenBSD: key-bindings.c,v 1.96 2019/05/28 09:50:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -299,7 +299,7 @@ key_bindings_init(void) "bind -n MouseDown3Status display-menu -t= -xW -yS -T \"#[align=centre]#{window_index}:#{window_name}\"" " 'Swap Left' 'l' {swap-window -t:-1}" " 'Swap Right' 'r' {swap-window -t:+1}" - " '#{?pane_marked_set,,#[dim]}Swap Marked' 's' {swap-window}" + " '#{?pane_marked_set,,-}Swap Marked' 's' {swap-window}" " ''" " 'Kill' 'X' {kill-window}" " 'Respawn' 'R' {respawn-window -k}" @@ -319,7 +319,7 @@ key_bindings_init(void) " ''" " 'Swap Up' 'u' {swap-pane -U}" " 'Swap Down' 'd' {swap-pane -D}" - " '#{?pane_marked_set,,#[dim]}Swap Marked' 's' {swap-pane}" + " '#{?pane_marked_set,,-}Swap Marked' 's' {swap-pane}" " ''" " 'Kill' 'X' {kill-pane}" " 'Respawn' 'R' {respawn-pane -k}" |