diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-03-21 09:51:01 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-03-21 09:51:01 +0000 |
commit | 2b24b4f4a82b9d787a78d382a09029eebf2d577b (patch) | |
tree | 69ed0192536d838ade969aa93d8ef990fc9e4f29 /usr.bin/tmux/window-copy.c | |
parent | 6fe477ae22c1359c5867252eeb19640bef4e31d6 (diff) |
Fix movement after select-line, from Omar Sandoval.
Diffstat (limited to 'usr.bin/tmux/window-copy.c')
-rw-r--r-- | usr.bin/tmux/window-copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c index edf7c4ead69..e0e755945e8 100644 --- a/usr.bin/tmux/window-copy.c +++ b/usr.bin/tmux/window-copy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-copy.c,v 1.168 2017/03/08 20:05:25 nicm Exp $ */ +/* $OpenBSD: window-copy.c,v 1.169 2017/03/21 09:51:00 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -2038,7 +2038,7 @@ window_copy_cursor_down(struct window_pane *wp, int scroll_only) data->lastsx = ox; } - if (s->sel.lineflag == LINE_SEL_RIGHT_LEFT && oy == data->sely) + if (s->sel.lineflag == LINE_SEL_RIGHT_LEFT && oy == data->endsely) window_copy_other_end(wp); data->cx = data->lastcx; |