mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-20 01:40:14 -05:00
csi: 'X': then 'end' parameter in term_erase() is *inclusive*
This commit is contained in:
parent
470489c3a3
commit
f63df93e15
1 changed files with 1 additions and 1 deletions
2
csi.c
2
csi.c
|
|
@ -544,7 +544,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
term_erase(
|
term_erase(
|
||||||
term,
|
term,
|
||||||
&term->cursor,
|
&term->cursor,
|
||||||
&(struct coord){term->cursor.col + count, term->cursor.row});
|
&(struct coord){term->cursor.col + count - 1, term->cursor.row});
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
memset(&term->grid->cur_line[term->cursor.col],
|
memset(&term->grid->cur_line[term->cursor.col],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue