mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-15 05:33:58 -04:00
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.
This commit is contained in:
parent
4585df532c
commit
963b266cce
3 changed files with 11 additions and 2 deletions
|
|
@ -29,6 +29,7 @@ struct grid {
|
|||
int cell_height;
|
||||
|
||||
int cursor;
|
||||
bool print_needs_wrap;
|
||||
struct cell *cells;
|
||||
|
||||
uint32_t foreground;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue