mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-28 07:58:00 -04:00
csi: CHT: don’t alter the LCF flag
This makes us pass the vttest 11.5.4 (Test non-VT100 -> Test ISO-6429 cursor-movement -> CHT) test.
This commit is contained in:
parent
9d3351472d
commit
9929a5ce0a
1 changed files with 3 additions and 0 deletions
3
csi.c
3
csi.c
|
|
@ -1120,7 +1120,10 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
xassert(new_col >= term->grid->cursor.point.col);
|
xassert(new_col >= term->grid->cursor.point.col);
|
||||||
|
|
||||||
|
bool lcf = term->grid->cursor.lcf;
|
||||||
term_cursor_right(term, new_col - term->grid->cursor.point.col);
|
term_cursor_right(term, new_col - term->grid->cursor.point.col);
|
||||||
|
term->grid->cursor.lcf = lcf;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue