diff options
author | nicm <nicm> | 2019-05-28 09:50:54 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-05-28 09:50:54 +0000 |
commit | 12255411f27e2c937334b1d84671ae46d5ef3c0c (patch) | |
tree | 9dfcbecc432316a2fe845db9471e8d8c06bc8570 /key-bindings.c | |
parent | 799a154b91c6e6ff7dbe62b67272f09578c99914 (diff) | |
download | rtmux-12255411f27e2c937334b1d84671ae46d5ef3c0c.tar.gz rtmux-12255411f27e2c937334b1d84671ae46d5ef3c0c.tar.bz2 rtmux-12255411f27e2c937334b1d84671ae46d5ef3c0c.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 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/key-bindings.c b/key-bindings.c index d20eca4b..3f74cb37 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -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}" |