diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-21 21:55:22 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-21 21:55:22 -0500 |
commit | 3fb13ac480f13c286dc23b340271a1a8706cdf75 (patch) | |
tree | 615382b720d966283cbf4254c19c411b731a042c | |
parent | 70858ca600a63bf415278d31e1a37aa6c201ed70 (diff) | |
download | nbsh-3fb13ac480f13c286dc23b340271a1a8706cdf75.tar.gz nbsh-3fb13ac480f13c286dc23b340271a1a8706cdf75.zip |
reset input modes when switching away from a full screen app
-rw-r--r-- | src/state/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs index ec77725..e64ba96 100644 --- a/src/state/mod.rs +++ b/src/state/mod.rs @@ -51,6 +51,7 @@ impl State { out: &mut impl textmode::Textmode, ) -> anyhow::Result<()> { out.clear(); + out.write(&vt100::Parser::default().screen().input_mode_formatted()); match self.scene { Scene::Readline => match self.focus { Focus::Readline => { |