add handling for n,N and C to organise files/folders

This commit is contained in:
2026-01-03 20:01:47 +00:00
parent e1f522ef6c
commit cbd11da5f6
2 changed files with 53 additions and 33 deletions
+3 -4
View File
@@ -120,10 +120,9 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
switch msg.String() {
case "q", "ctrl+c":
return m, tea.Quit
case "up", "k", "down", "j", "enter", " ":
if m.tree != nil {
m.tree.Update(msg)
}
}
if m.tree != nil {
m.tree.Update(msg)
}
}
return m, nil