Fix two copy mode problems:

1. In vi mode the selection doesn't include the last character if you
   moved the cursor up or left.
2. In emacs mode the selection includes the last character if you moved
   the cursor to the left.

From Balazs Kezes.
This commit is contained in:
nicm
2014-08-11 22:18:16 +00:00
parent f518a077b1
commit 29d20a55b6
3 changed files with 20 additions and 5 deletions

1
tmux.h
View File

@ -794,6 +794,7 @@ LIST_HEAD(joblist, job);
struct screen_sel {
int flag;
int rectflag;
int modekeys;
u_int sx;
u_int sy;