summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/channel_list.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/channel_list.go b/client/channel_list.go
index c202d39..24c5230 100644
--- a/client/channel_list.go
+++ b/client/channel_list.go
@@ -137,7 +137,7 @@ func (cl *channelList) show(scroll *tui.ScrollState) {
if mouse.Released {
globalApp.redraw = true
if entry.clicked {
- globalApp.goTo(entry.location)
+ defer globalApp.goTo(entry.location)
} else {
for j, entry2 := range *cl {
if entry2.clicked {