summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/key-bindings.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-03-20 18:20:58 +0000
committernicm <nicm@openbsd.org>2020-03-20 18:20:58 +0000
commit161cf188b1b4d00611cca52c80e73d528c22d2de (patch)
treed63c6835c28be439b299a2e1b855b4073c80f9a9 /usr.bin/tmux/key-bindings.c
parentDisable swap entries if nothing to swap with. (diff)
downloadwireguard-openbsd-161cf188b1b4d00611cca52c80e73d528c22d2de.tar.xz
wireguard-openbsd-161cf188b1b4d00611cca52c80e73d528c22d2de.zip
Put swap down back in the right place.
Diffstat (limited to 'usr.bin/tmux/key-bindings.c')
-rw-r--r--usr.bin/tmux/key-bindings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/key-bindings.c b/usr.bin/tmux/key-bindings.c
index 6b11e423127..e91b26a8df5 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.112 2020/03/20 18:19:22 nicm Exp $ */
+/* $OpenBSD: key-bindings.c,v 1.113 2020/03/20 18:20:58 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -58,7 +58,7 @@
" 'Vertical Split' 'v' {split-window -v}" \
" ''" \
" '#{?#{>:#{window_panes},1},,-}Swap Up' 'u' {swap-pane -U}" \
- " '#{?#|>:#{window_panes},1},,-}Swap Down' 'd' {swap-pane -D}" \
+ " '#{?#{>:#{window_panes},1},,-}Swap Down' 'd' {swap-pane -D}" \
" '#{?pane_marked_set,,-}Swap Marked' 's' {swap-pane}" \
" ''" \
" 'Kill' 'X' {kill-pane}" \