diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2020-12-28 12:45:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-28 09:45:39 +0000 |
commit | 12fbd0051cd743bcea79f45777325f76485fd865 (patch) | |
tree | 8e09bf529451b21bfffaa27ed42116338837216c /alacritty_terminal/src/index.rs | |
parent | fdc10d270e423e6bec756cab61b502e28260129e (diff) | |
download | alacritty-12fbd0051cd743bcea79f45777325f76485fd865.tar.gz alacritty-12fbd0051cd743bcea79f45777325f76485fd865.zip |
Draw cursor with rect renderer
This commit makes cursors being drawn via rects, thus it's always above
underlines/strikeouts. Also, since the cursor isn't a glyph anymore, it
can't be obscured due to atlas switching while glyphs are rendered.
Fixes #4404.
Fixes #3471.
Diffstat (limited to 'alacritty_terminal/src/index.rs')
-rw-r--r-- | alacritty_terminal/src/index.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/src/index.rs b/alacritty_terminal/src/index.rs index 2ee679db..8b84b7f5 100644 --- a/alacritty_terminal/src/index.rs +++ b/alacritty_terminal/src/index.rs @@ -8,7 +8,7 @@ use std::ops::{self, Add, AddAssign, Deref, Range, Sub, SubAssign}; use serde::{Deserialize, Serialize}; use crate::grid::Dimensions; -use crate::term::RenderableCell; +use crate::term::render::RenderableCell; /// The side of a cell. pub type Side = Direction; |