=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-find.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/tmux/cmd-find.c 2015/08/12 08:55:20 1.11 +++ src/usr.bin/tmux/cmd-find.c 2015/08/13 15:02:23 1.12 @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-find.c,v 1.11 2015/08/12 08:55:20 nicm Exp $ */ +/* $OpenBSD: cmd-find.c,v 1.12 2015/08/13 15:02:23 nicm Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -102,10 +102,10 @@ { "{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 } }; @@ -699,22 +699,22 @@ 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);