Move to current mouse position not last when clcking in copy mode; fixes

GitHub issue 1055. Also a man page fix from jmc.
pull/1062/head
nicm 2017-09-04 09:18:51 +00:00
parent f4848b437f
commit eadd79acec
2 changed files with 2 additions and 2 deletions

2
tmux.1
View File

@ -3730,7 +3730,7 @@ A pane's title is typically set by the program running inside the pane using
an escape sequence (like it would set the
.Xr xterm 1
window title in
.Xr X 7 Ns ).
.Xr X 7 ) .
Windows themselves do not have titles - a window's title is the title of its
active pane.
.Nm

View File

@ -2454,7 +2454,7 @@ window_copy_move_mouse(struct mouse_event *m)
if (wp == NULL || wp->mode != &window_copy_mode)
return;
if (cmd_mouse_at(wp, m, &x, &y, 1) != 0)
if (cmd_mouse_at(wp, m, &x, &y, 0) != 0)
return;
window_copy_update_cursor(wp, x, y);