From b7cdf04a45f2908b3116d3fe7c2fecb38570ae36 Mon Sep 17 00:00:00 2001 From: erroneousboat Date: Sat, 7 Sep 2019 14:17:18 +0200 Subject: [PATCH] Fix cursor position in threads pane --- handlers/event.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/handlers/event.go b/handlers/event.go index fccf9aa..76cc5bc 100644 --- a/handlers/event.go +++ b/handlers/event.go @@ -520,6 +520,9 @@ func actionChangeChannel(ctx *context.AppContext) { threads..., ), ) + + // Reset position of SelectedChannel + ctx.View.Threads.MoveCursorTop() } // Set channel name for the Chat pane