aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-03-06 23:22:58 -0500
committerJesse Luehrs <doy@tozt.net>2021-03-06 23:22:58 -0500
commit9ec5c4002f5f953604ac5dbcb4e32607ce727697 (patch)
tree69590e554839aeb083e09b004f72f7131c998796
parent24d05b6d2eeee4669f2b254106a31337f037b993 (diff)
downloadvt100-rust-9ec5c4002f5f953604ac5dbcb4e32607ce727697.tar.gz
vt100-rust-9ec5c4002f5f953604ac5dbcb4e32607ce727697.zip
document a method
-rw-r--r--src/cell.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cell.rs b/src/cell.rs
index e1e3a5b..aa1b718 100644
--- a/src/cell.rs
+++ b/src/cell.rs
@@ -84,6 +84,9 @@ impl Cell {
self.len & 0x80 == 0x80
}
+ /// Returns whether the cell contains the second half of a wide character
+ /// (in other words, whether the previous cell in the row contains a wide
+ /// character)
#[must_use]
pub fn is_wide_continuation(&self) -> bool {
self.len & 0x40 == 0x40