diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-11-13 16:44:07 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-11-13 16:44:07 -0500 |
commit | 72677dc11f65207ff0a89a9b10a50d1176d53aa6 (patch) | |
tree | 09a8f5ffbfd0ac5b245258efe155ce18e7242994 | |
parent | 689e337b5a1baff0e9fe4b65e0f26601601f0ddd (diff) | |
download | nbsh-72677dc11f65207ff0a89a9b10a50d1176d53aa6.tar.gz nbsh-72677dc11f65207ff0a89a9b10a50d1176d53aa6.zip |
reset attributes after drawing a full screen app
otherwise we could retain drawing attributes when returning from full
screen
-rw-r--r-- | src/history.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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(); } } |