diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-03-25 08:35:21 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-03-25 08:35:21 +0000 |
| commit | eb3f9f14b0ffb2f0426e0380061f3223916ac9be (patch) | |
| tree | bd0c20a1b2c8f1d3d4f7be5135d244c2c0a20671 | |
| parent | Merge branch 'zoom-line-height' (diff) | |
| parent | changelog: newlines incorrectly inserted into copied text (diff) | |
Merge branch 'clear-linebreak-flag-when-printing'
Closes #410
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | terminal.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e065995..ff203ed7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,8 @@ bindings instead (https://codeberg.org/dnkl/foot/issues/407). * Custom `line-height` settings now scale when increasing or decreasing the font size at run-time. +* Newlines sometimes incorrectly inserted into copied text + (https://codeberg.org/dnkl/foot/issues/410). ### Security @@ -2870,6 +2870,7 @@ term_print(struct terminal *term, wchar_t wc, int width) cell->attrs = term->vt.attrs; row->dirty = true; + row->linebreak = false; cell->attrs.clean = 0; /* Advance cursor the 'additional' columns while dirty:ing the cells */ @@ -2909,6 +2910,7 @@ ascii_printer_fast(struct terminal *term, wchar_t wc) cell->attrs = term->vt.attrs; row->dirty = true; + row->linebreak = false; cell->attrs.clean = 0; /* Advance cursor */ |
