From 12fbd0051cd743bcea79f45777325f76485fd865 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Mon, 28 Dec 2020 12:45:39 +0300 Subject: 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. --- alacritty_terminal/src/index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alacritty_terminal/src/index.rs') 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; -- cgit