aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-05 15:38:37 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-05 15:38:37 -0500
commit9f9c519cbaa5384e666ffa2b5e1cf4f99780ba28 (patch)
tree6f4e0b348edcfd31d795d863722be358f4b2e99a /src
parent2471941ad0ee28a0c27df3f007faa16ff7028fa8 (diff)
downloadvt100-rust-9f9c519cbaa5384e666ffa2b5e1cf4f99780ba28.tar.gz
vt100-rust-9f9c519cbaa5384e666ffa2b5e1cf4f99780ba28.zip
fix erasing cells in diff
also add more comprehensive tests
Diffstat (limited to 'src')
-rw-r--r--src/row.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/row.rs b/src/row.rs
index 9322c36..5f2f775 100644
--- a/src/row.rs
+++ b/src/row.rs
@@ -158,7 +158,7 @@ impl Row {
contents.extend(if cell.has_contents() {
cell.contents().as_bytes()
} else {
- b"\x1b[X"
+ b"\x1b[X\x1b[C"
});
}
}