fix(selection): rendering of characters with unset background (#1250)

create cursor with RESET_STYLES instead of empty styles
This commit is contained in:
Thomas Linford 2022-03-28 20:36:51 +02:00 committed by GitHub
parent 3e5eb42f0e
commit 303123f9c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -685,7 +685,7 @@ impl Cursor {
x,
y,
is_hidden: false,
pending_styles: CharacterStyles::new(),
pending_styles: RESET_STYLES,
charsets: Default::default(),
shape: CursorShape::Initial,
}