summaryrefslogtreecommitdiffstats
path: root/grid-view.c
diff options
context:
space:
mode:
authornicm <nicm>2022-09-28 07:55:29 +0000
committernicm <nicm>2022-09-28 07:55:29 +0000
commit9cc8e40aa08ff91bc1c5d0211c1d2cef02f2c7a2 (patch)
tree14f2125e4f51d63218dcb8155d8e8c5c33cc4e73 /grid-view.c
parenta2cc601c3d1a569037ccd238b2638b5c416baca8 (diff)
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.
Diffstat (limited to 'grid-view.c')
-rw-r--r--grid-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grid-view.c b/grid-view.c
index 689ac4e4..4d687339 100644
--- a/grid-view.c
+++ b/grid-view.c
@@ -231,5 +231,5 @@ grid_view_string_cells(struct grid *gd, u_int px, u_int py, u_int nx)
px = grid_view_x(gd, px);
py = grid_view_y(gd, py);
- return (grid_string_cells(gd, px, py, nx, NULL, 0, 0, 0, NULL));
+ return (grid_string_cells(gd, px, py, nx, NULL, 0, NULL));
}