Copy mode improvements from Anindya Mukherjee:
authornicm <nicm@openbsd.org>
Tue, 9 Mar 2021 08:24:09 +0000 (08:24 +0000)
committernicm <nicm@openbsd.org>
Tue, 9 Mar 2021 08:24:09 +0000 (08:24 +0000)
commitf4e980ccc4648bc58f4fe35bd608ef45b7eb8ec6
treeeb942293d707652d6c78ea03aeafd1ea7e6fff22
parentc9c2a8bced2637f49891a0cc87ce149229a8c70e
Copy mode improvements from Anindya Mukherjee:

- Fix word and word-end for wrapped lines.
- Fix copying of selection end on wrapped lines.
- Fix wrapped word selection edge case.
- Update select-line to respect wrapped lines.
- Update window_copy_..._pos() functions to use grid_reader.

GitHub issue 2605.
usr.bin/tmux/grid-reader.c
usr.bin/tmux/window-copy.c