Fix regression with hidden cursors

This commit is contained in:
A-Walrus 2024-08-27 18:33:10 +03:00 • committed by Jeremy Soller
parent e2d18a0a20
commit ad36c0c01b

View file

@ -758,7 +758,7 @@ impl Terminal {
// Change color if cursor // Change color if cursor
if indexed.point == grid.cursor.point if indexed.point == grid.cursor.point
&& term.cursor_style().shape == CursorShape::Block && term.renderable_content().cursor.shape == CursorShape::Block
{ {
//Use specific cursor color if requested //Use specific cursor color if requested
if term.colors()[NamedColor::Cursor].is_some() { if term.colors()[NamedColor::Cursor].is_some() {