summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-find.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-08-12 08:55:20 +0000
committernicm <nicm@openbsd.org>2015-08-12 08:55:20 +0000
commitf388c9323900fbed5ddae663b9ca6538fa2d79a8 (patch)
treeb03689684079316972cc0f5f3480f456baeffd6f /usr.bin/tmux/cmd-find.c
parentremoves two mem leaks in ti (in error path). (diff)
downloadwireguard-openbsd-f388c9323900fbed5ddae663b9ca6538fa2d79a8.tar.xz
wireguard-openbsd-f388c9323900fbed5ddae663b9ca6538fa2d79a8.zip
Rename left/right/up/down relative to active pane to add -of suffix
(left-of/right-of/etc) to remove conflict with left/right meaning leftmost or rightmost pane. From Ben Boeckel.
Diffstat (limited to 'usr.bin/tmux/cmd-find.c')
-rw-r--r--usr.bin/tmux/cmd-find.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tmux/cmd-find.c b/usr.bin/tmux/cmd-find.c
index a61292a3f03..5bdcf3ffebb 100644
--- a/usr.bin/tmux/cmd-find.c
+++ b/usr.bin/tmux/cmd-find.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-find.c,v 1.10 2015/06/05 09:09:08 nicm Exp $ */
+/* $OpenBSD: cmd-find.c,v 1.11 2015/08/12 08:55:20 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -102,10 +102,10 @@ const char *cmd_find_pane_table[][2] = {
{ "{top-right}", "top-right" },
{ "{bottom-left}", "bottom-left" },
{ "{bottom-right}", "bottom-right" },
- { "{up}", "{up}" },
- { "{down}", "{down}" },
- { "{left}", "{left}" },
- { "{right}", "{right}" },
+ { "{up-of}", "{up}" },
+ { "{down-of}", "{down}" },
+ { "{left-of}", "{left}" },
+ { "{right-up}", "{right}" },
{ NULL, NULL }
};