diff options
author | Joe Wilm <joe@jwilm.com> | 2018-02-15 19:34:09 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2018-06-02 09:32:29 -0700 |
commit | 9b9b138bac9353d2d95ce71ec155c3a9b2963491 (patch) | |
tree | 9bf92776812ae92193beaad7bcd773eaeee42b08 /src/term/mod.rs | |
parent | 5748066b8ac18140187de91fef0bdbddc9fdb338 (diff) | |
download | alacritty-9b9b138bac9353d2d95ce71ec155c3a9b2963491.tar.gz alacritty-9b9b138bac9353d2d95ce71ec155c3a9b2963491.zip |
Fir cursor not scrolling
Diffstat (limited to 'src/term/mod.rs')
-rw-r--r-- | src/term/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs index e2088413..824577f7 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -342,7 +342,8 @@ impl<'a> Iterator for RenderableCellsIter<'a> { self.inner.column() == self.cursor.col { // Cursor cell - let cell = self.cursor_cells.pop_front().unwrap(); + let mut cell = self.cursor_cells.pop_front().unwrap(); + cell.line = self.inner.line(); // Since there may be multiple cursor cells (for a wide // char), only update iteration position after all cursor |