aboutsummaryrefslogtreecommitdiff
path: root/src/term/mod.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2018-02-15 19:34:09 -0800
committerJoe Wilm <joe@jwilm.com>2018-06-02 09:32:29 -0700
commit9b9b138bac9353d2d95ce71ec155c3a9b2963491 (patch)
tree9bf92776812ae92193beaad7bcd773eaeee42b08 /src/term/mod.rs
parent5748066b8ac18140187de91fef0bdbddc9fdb338 (diff)
downloadalacritty-9b9b138bac9353d2d95ce71ec155c3a9b2963491.tar.gz
alacritty-9b9b138bac9353d2d95ce71ec155c3a9b2963491.zip
Fir cursor not scrolling
Diffstat (limited to 'src/term/mod.rs')
-rw-r--r--src/term/mod.rs3
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