aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-12-03 12:22:48 -0500
committerJesse Luehrs <doy@tozt.net>2021-12-03 12:22:48 -0500
commit4e4f47cb9a66eab13a40b2f7bf2477695c0ff003 (patch)
tree9cfa50794201db3238e13b763b6931edd512d705 /src
parentbf5813ba9cefacad3e8535478747f61c45ed41c2 (diff)
downloadvt100-rust-4e4f47cb9a66eab13a40b2f7bf2477695c0ff003.tar.gz
vt100-rust-4e4f47cb9a66eab13a40b2f7bf2477695c0ff003.zip
wide continuation cells should not have attributes
it confuses things like cell insertion
Diffstat (limited to 'src')
-rw-r--r--src/screen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.rs b/src/screen.rs
index 177a28e..2dba4b5 100644
--- a/src/screen.rs
+++ b/src/screen.rs
@@ -939,7 +939,7 @@ impl Screen {
}
}
let next_cell = self.current_cell_mut();
- next_cell.clear(attrs);
+ next_cell.clear(crate::attrs::Attrs::default());
next_cell.set_wide_continuation(true);
self.grid_mut().col_inc(1);
}