diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-06-17 18:53:05 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-06-17 18:53:05 +0000 |
| commit | 963b266cce1cbb81a88fba2175f2d70be86559e4 (patch) | |
| tree | 43526162833f2d0413f46c8b732119ef400b9063 /grid.c | |
| parent | wip: vt parsing: break out grid operating functions (diff) | |
vt: handle cursor-at-right-edge
When printing to the right-most-cell, don't advance the
cursor. Instead, set a flag that indicates that the *next* print
should line-wrap.
Diffstat (limited to 'grid.c')
| -rw-r--r-- | grid.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -25,6 +25,7 @@ grid_cursor_move(struct grid *grid, int cols) grid->cells[new_cursor].dirty = true; grid->cursor = new_cursor; grid->dirty = true; + grid->print_needs_wrap = false; } void |
