diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-01-25 07:46:21 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-01-25 07:46:21 +0000 |
| commit | 97385b007f2bb9cd54e701e5745d6e8d607513c2 (patch) | |
| tree | cb23f69dd0a69284fb1c4ff1596d21626159bb5e /render.c | |
| parent | changelog: cwd > 1024 chars (diff) | |
grid: reflow: regression: remove (truncate) SPACER cells at the end of line
When printing a double-width glyph at the end of the line, it will get
pushed to the next line if there's only one cell left on the current
line.
That last cell on the current line is filled with a SPACER value.
When reflowing the text, the SPACER cell should be "removed", so that
the double-width glyph continues directly after the text on the
previous line.
9567694bab7149afbb4e4fcc4c754272a8d25aba fixed an issue where
reflowing e.g. neofetch output incorrectly removed spaces between the
logo, and the system info. But also introduced a regression where
SPACER values no longer are removed.
This patch tries to fix it, by adding back empty cells, but NOT SPACER
cells.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions
