diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-12-06 23:50:21 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-12-06 23:50:21 -0500 |
commit | c4d890090e20a2c3b7c6eb03feb2f6e6033c9caf (patch) | |
tree | 6d281ca1e58318796c08a3cea847d9239c8d9ea6 /src/screen.rs | |
parent | e6b26a5f6ac8f79f0fd26da4fe285fa3c33da21c (diff) | |
download | vt100-rust-c4d890090e20a2c3b7c6eb03feb2f6e6033c9caf.tar.gz vt100-rust-c4d890090e20a2c3b7c6eb03feb2f6e6033c9caf.zip |
need to update pos after potentially wrapping
Diffstat (limited to 'src/screen.rs')
-rw-r--r-- | src/screen.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/screen.rs b/src/screen.rs index 7141c07..c72f1dd 100644 --- a/src/screen.rs +++ b/src/screen.rs @@ -624,6 +624,7 @@ impl Screen { } } self.grid_mut().col_wrap(wrap_width, wrap); + let pos = self.grid().pos(); if width == 0 { if pos.col > 0 { |