Fix two copy mode problems:
authornicm <nicm@openbsd.org>
Mon, 11 Aug 2014 22:18:16 +0000 (22:18 +0000)
committernicm <nicm@openbsd.org>
Mon, 11 Aug 2014 22:18:16 +0000 (22:18 +0000)
commit371f2138ee1840222b34c056bb112a9526d17045
tree3c98bdb0906e4806d09f5d796c54a49b24868c1c
parent4dca3db4a95f889346a0756d6a5188d8ead82897
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.
usr.bin/tmux/screen.c
usr.bin/tmux/tmux.h
usr.bin/tmux/window-copy.c