diff options
Diffstat (limited to 'users/Profpatsch/struct-edit/main.go')
-rw-r--r-- | users/Profpatsch/struct-edit/main.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/users/Profpatsch/struct-edit/main.go b/users/Profpatsch/struct-edit/main.go index 06d05a695d08..f40c6df66db8 100644 --- a/users/Profpatsch/struct-edit/main.go +++ b/users/Profpatsch/struct-edit/main.go @@ -333,16 +333,16 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { return m, tea.Quit case "up": - m, err = m.ascend() + m, err = m.prev() case "down": - m, err = m.descend() + m, err = m.next() case "right": - m, err = m.next() + m, err = m.descend() case "left": - m, err = m.prev() + m, err = m.ascend() // case "enter": // _, ok := m.selected[m.cursor] |