From 72677dc11f65207ff0a89a9b10a50d1176d53aa6 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 13 Nov 2021 16:44:07 -0500 Subject: reset attributes after drawing a full screen app otherwise we could retain drawing attributes when returning from full screen --- src/history.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/history.rs') diff --git a/src/history.rs b/src/history.rs index f886d13..a562d6d 100644 --- a/src/history.rs +++ b/src/history.rs @@ -330,6 +330,8 @@ impl HistoryEntry { out.write(b"\x1bg"); self.visual_bell_state = new_visual_bell_state; } + + out.reset_attributes(); } } -- cgit v1.2.3-54-g00ecf