aboutsummaryrefslogtreecommitdiffstats
path: root/src/cell.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-05 14:01:42 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-05 14:09:26 -0500
commit2471941ad0ee28a0c27df3f007faa16ff7028fa8 (patch)
tree6415ff09131f50ce020522ddcc98f4268343d91e /src/cell.rs
parent2e7f1686d719497d9b2d2d2c8ffba20e6c8214bd (diff)
downloadvt100-rust-2471941ad0ee28a0c27df3f007faa16ff7028fa8.tar.gz
vt100-rust-2471941ad0ee28a0c27df3f007faa16ff7028fa8.zip
add functionality for diffing two terminal screens
Diffstat (limited to 'src/cell.rs')
-rw-r--r--src/cell.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cell.rs b/src/cell.rs
index da6c86f..285d37a 100644
--- a/src/cell.rs
+++ b/src/cell.rs
@@ -1,7 +1,7 @@
use unicode_normalization::UnicodeNormalization as _;
/// Represents a single terminal cell.
-#[derive(Clone, Debug, Default)]
+#[derive(Clone, Debug, Default, Eq, PartialEq)]
pub struct Cell {
contents: String,
attrs: crate::attrs::Attrs,