From 303123f9c6c1f8a9b55fdd9eeda3a36481ced52c Mon Sep 17 00:00:00 2001 From: Thomas Linford Date: Mon, 28 Mar 2022 20:36:51 +0200 Subject: [PATCH] fix(selection): rendering of characters with unset background (#1250) create cursor with RESET_STYLES instead of empty styles --- zellij-server/src/panes/terminal_character.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zellij-server/src/panes/terminal_character.rs b/zellij-server/src/panes/terminal_character.rs index 402c8b31..341f45c7 100644 --- a/zellij-server/src/panes/terminal_character.rs +++ b/zellij-server/src/panes/terminal_character.rs @@ -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, }