diff options
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | grid.c | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4924572a..44f0ad20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -61,6 +61,9 @@ * Graphical corruption when viewport is at the top of the scrollback, and the output is scrolling. +* Improved text reflow of logical lines with trailing empty cells ([#1055][1055]) + +[1055]: https://codeberg.org/dnkl/foot/issues/1055 ### Security @@ -703,6 +703,11 @@ grid_resize_and_reflow( } } + if (!old_row->linebreak /*&& col_count > 0*/) { + /* Don’t truncate logical lines */ + col_count = old_cols; + } + xassert(col_count >= 0 && col_count <= old_cols); /* Do we have a (at least one) tracking point on this row */ |
