aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-02-28 07:11:50 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-03-05 17:55:00 +0000
commita80b32d006b24512bb8bd6c4d362f90abb4388d3 (patch)
treed4ece3bc79753973c7e0ade5a333ca7406369a63 /terminal.c
parentrender: gamma-correct blending (diff)
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.
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 1c607787..988716f4 100644
--- a/terminal.c
+++ b/terminal.c
@@ -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)