remove restoring of key when poping state
After having used it, it's obvious the key isn't convenient, as
we have to remove it before looking elsewhere, and we don't usually
want to use the key again.
@@ -168,7 +168,8 @@ impl App {
}
AppStateCmdResult::PopState => {
self.states.pop();
- cmd = Command::from(&self.state().tree.key());
+ //cmd = Command::from(&self.state().tree.key()); // doesn't really seem convenient
+ cmd = Command::new();
screen.write_status(&self.state())?;
}
AppStateCmdResult::DisplayError(txt) => {
