From b5124bfbdd4f58595e2bebfb14a71a7f14c5a5dc Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 11 Jan 2020 00:24:05 -0800 Subject: [PATCH] set the dirty bit when joining rewrapped lines --- termwiz/src/surface/line.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/termwiz/src/surface/line.rs b/termwiz/src/surface/line.rs index 41d45ec57..90eeb2981 100644 --- a/termwiz/src/surface/line.rs +++ b/termwiz/src/surface/line.rs @@ -407,6 +407,7 @@ impl Line { /// lines back together. pub fn append_line(&mut self, mut other: Line) { self.cells.append(&mut other.cells); + self.set_dirty(); } /// mutable access the cell data, but the caller must take care