aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-08-13 18:01:07 +0100
committerThomas Adam <thomas@xteddy.org>2015-08-13 18:01:07 +0100
commit778612d1526a7c927106609f4925da365e41c498 (patch)
tree056031a53f234f12e1886d0216dd8033a51d1a65
parent6447404cc23a8593bc55840827f769b270b9d5be (diff)
parent46aa92420a4d3af7d273155aabb646d4bc91bb01 (diff)
downloadrtmux-778612d1526a7c927106609f4925da365e41c498.tar.gz
rtmux-778612d1526a7c927106609f4925da365e41c498.tar.bz2
rtmux-778612d1526a7c927106609f4925da365e41c498.zip
Merge branch 'obsd-master'
-rw-r--r--cmd-find.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/cmd-find.c b/cmd-find.c
index 5da65174..8c68fee2 100644
--- a/cmd-find.c
+++ b/cmd-find.c
@@ -101,10 +101,10 @@ const char *cmd_find_pane_table[][2] = {
{ "{top-right}", "top-right" },
{ "{bottom-left}", "bottom-left" },
{ "{bottom-right}", "bottom-right" },
- { "{up-of}", "{up}" },
- { "{down-of}", "{down}" },
- { "{left-of}", "{left}" },
- { "{right-up}", "{right}" },
+ { "{up-of}", "{up-of}" },
+ { "{down-of}", "{down-of}" },
+ { "{left-of}", "{left-of}" },
+ { "{right-of}", "{right-of}" },
{ NULL, NULL }
};
@@ -698,22 +698,22 @@ cmd_find_get_pane_with_window(struct cmd_find_state *fs, const char *pane)
return (-1);
fs->wp = fs->w->last;
return (0);
- } else if (strcmp(pane, "{up}") == 0) {
+ } else if (strcmp(pane, "{up-of}") == 0) {
fs->wp = window_pane_find_up(fs->w->active);
if (fs->wp == NULL)
return (-1);
return (0);
- } else if (strcmp(pane, "{down}") == 0) {
+ } else if (strcmp(pane, "{down-of}") == 0) {
fs->wp = window_pane_find_down(fs->w->active);
if (fs->wp == NULL)
return (-1);
return (0);
- } else if (strcmp(pane, "{left}") == 0) {
+ } else if (strcmp(pane, "{left-of}") == 0) {
fs->wp = window_pane_find_left(fs->w->active);
if (fs->wp == NULL)
return (-1);
return (0);
- } else if (strcmp(pane, "{right}") == 0) {
+ } else if (strcmp(pane, "{right-of}") == 0) {
fs->wp = window_pane_find_right(fs->w->active);
if (fs->wp == NULL)
return (-1);