Add a -T flag to capture-pane to stop at the last used cell instead of
commit9cc8e40aa08ff91bc1c5d0211c1d2cef02f2c7a2
authornicm <nicm>
Wed, 28 Sep 2022 07:55:29 +0000 (28 07:55 +0000)
committernicm <nicm>
Wed, 28 Sep 2022 07:55:29 +0000 (28 07:55 +0000)
tree14f2125e4f51d63218dcb8155d8e8c5c33cc4e73
parenta2cc601c3d1a569037ccd238b2638b5c416baca8
Add a -T flag to capture-pane to stop at the last used cell instead of
the full width. Restore the previous behaviour by making it default to
off unless -J is used (the only time it matters). Fixes mosh unit tests;
GitHub issue 3339.
cmd-capture-pane.c
grid-view.c
grid.c
tmux.h