Skip to content

Commit

Permalink
reset on escape
Browse files Browse the repository at this point in the history
  • Loading branch information
mistakenelf committed Nov 7, 2021
1 parent 6678ba5 commit 3c77e0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/ui/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,8 @@ func (m *Model) handleEscapeKeyPress(cmds *[]tea.Cmd) {
m.findMode = false
m.primaryPane.SetActive(true)
m.secondaryPane.SetActive(false)
m.primaryPane.ShowSpinner(false)
m.dirTree.SetFilePaths(nil)
m.statusBar.BlurCommandBar()
m.statusBar.ResetCommandBar()
m.secondaryPane.GotoTop()
Expand Down

0 comments on commit 3c77e0f

Please sign in to comment.