Skip to content

Commit

Permalink
fix: reset pane and disable secondary tree
Browse files Browse the repository at this point in the history
  • Loading branch information
mistakenelf committed Mar 26, 2024
1 parent bd1f42c commit 3065ecb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/tui/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
m.textinput.Blur()
m.filetree.CreatingNewDirectory = false
m.filetree.CreatingNewFile = false
m.secondaryFiletree.SetDisabled(true)
m.activePane = 0

m.textinput, cmd = m.textinput.Update(msg)
cmds = append(cmds, cmd)
Expand Down

0 comments on commit 3065ecb

Please sign in to comment.