aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-11 12:40:35 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-11 12:40:35 -0500
commit0625c866af4718b8355ca3cff631a107689dc6f3 (patch)
treef54e21ed15dbc36145f31fb63affd64a5e9e9b30
parenta835b4871b777ffe47813a6a5eb6dc38a7cf27f5 (diff)
downloadvt100-rust-0625c866af4718b8355ca3cff631a107689dc6f3.tar.gz
vt100-rust-0625c866af4718b8355ca3cff631a107689dc6f3.zip
comment
-rw-r--r--src/row.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/row.rs b/src/row.rs
index fb25f24..640f4ec 100644
--- a/src/row.rs
+++ b/src/row.rs
@@ -163,6 +163,9 @@ impl Row {
(prev_pos, prev_attrs)
}
+ // while it's true that most of the logic in this is identical to
+ // write_contents_formatted, i can't figure out how to break out the
+ // common parts without making things noticeably slower.
pub fn write_contents_diff(
&self,
contents: &mut Vec<u8>,