From 0b826a114bd15ec1240571565c225827510f56c0 Mon Sep 17 00:00:00 2001 From: Arvid Bjurklint Date: Mon, 19 Aug 2024 00:48:32 +0200 Subject: [PATCH] Fix incorrect direction when switching mounts --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index f77ea43..52bc73e 100644 --- a/main.go +++ b/main.go @@ -165,9 +165,9 @@ func main() { ui.Prompt += string(ev.Rune()) ui.newKeysView() } - case tcell.KeyRight: - ui.nextMount() case tcell.KeyLeft: + ui.nextMount() + case tcell.KeyRight: ui.previousMount() case tcell.KeyCtrlK, tcell.KeyCtrlP, tcell.KeyUp: ui.moveUp()