aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-12-06 22:15:49 -0500
committerJesse Luehrs <doy@tozt.net>2019-12-06 23:28:04 -0500
commite13049c91c036354b311bc529b0b258aa4b61952 (patch)
treebf8b21cbffe4545c0e58ba1827d249c662675ee8 /src/screen.rs
parente156958580d91b3244e4806ef1a6aa18e900a823 (diff)
downloadvt100-rust-e13049c91c036354b311bc529b0b258aa4b61952.tar.gz
vt100-rust-e13049c91c036354b311bc529b0b258aa4b61952.zip
fix contents when a wrapped row is followed by an empty row
Diffstat (limited to 'src/screen.rs')
-rw-r--r--src/screen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.rs b/src/screen.rs
index afe50b8..7141c07 100644
--- a/src/screen.rs
+++ b/src/screen.rs
@@ -164,7 +164,7 @@ impl Screen {
) -> impl Iterator<Item = String> + '_ {
self.grid().visible_rows().map(move |row| {
let mut contents = String::new();
- row.write_contents(&mut contents, start, width);
+ row.write_contents(&mut contents, start, width, false);
contents
})
}