Skip to content

Commit

Permalink
fix: move to NORMAL mode when bar is switched
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Nov 14, 2024
1 parent bb70d05 commit b1c2890
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dooit/ui/widgets/bars/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ def switcher(self) -> "BarSwitcher":
assert isinstance(parent, BarSwitcher)
return parent

def on_unmount(self):
async def on_unmount(self):
self.post_message(ModeChanged("NORMAL"))
self.switcher.current = "status_bar"

def perform_action(self, cancel: bool):
Expand Down

0 comments on commit b1c2890

Please sign in to comment.