mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-15 05:33:58 -04:00
term: tweak linebreaking
Don't set linebreak on linefeed. Instead, rely on the default value of true, and that it is only cleared when a character is printed while LCF=1. Note that printing to a row that has linebreak cleared, will set the linebreak flag again.
This commit is contained in:
parent
ccf625b991
commit
a80b32d006
2 changed files with 6 additions and 1 deletions
|
|
@ -3191,7 +3191,6 @@ term_carriage_return(struct terminal *term)
|
|||
void
|
||||
term_linefeed(struct terminal *term)
|
||||
{
|
||||
term->grid->cur_row->linebreak = true;
|
||||
term->grid->cursor.lcf = false;
|
||||
|
||||
if (term->grid->cursor.point.row == term->scroll_region.end - 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue