diff options
author | nicm <nicm> | 2022-03-30 07:05:26 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-03-30 07:05:26 +0000 |
commit | ded695504faad8f5d6430731f0bcb9beb0e1430a (patch) | |
tree | d0f0670f7f335dfb0fc8bfe0d57dc231dd873c55 | |
parent | 207b1bc385480cf453f2994a12f65706977b6c0f (diff) | |
download | rtmux-ded695504faad8f5d6430731f0bcb9beb0e1430a.tar.gz rtmux-ded695504faad8f5d6430731f0bcb9beb0e1430a.tar.bz2 rtmux-ded695504faad8f5d6430731f0bcb9beb0e1430a.zip |
Capture up to used size not available size for each line.
-rw-r--r-- | grid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1003,7 +1003,7 @@ grid_string_cells(struct grid *gd, u_int px, u_int py, u_int nx, gl = grid_peek_line(gd, py); for (xx = px; xx < px + nx; xx++) { - if (gl == NULL || xx >= gl->cellsize) + if (gl == NULL || xx >= gl->cellused) break; grid_get_cell(gd, xx, py, &gc); if (gc.flags & GRID_FLAG_PADDING) |