add handling for n,N and C to organise files/folders
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user