summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraven <citrons@mondecitronne.com>2026-02-10 18:02:45 -0600
committerraven <citrons@mondecitronne.com>2026-02-10 18:02:45 -0600
commit9840888f9b7eeefeaf3694aa762b3afcfc1af61d (patch)
tree09c67b8d24fa5f7ee2ac8d62de9b5b81fb37dce5
parent151d0e5dfca2185ad878e7b6ce3817bc9da5ea95 (diff)
fix unread status not clearing on mouse click
-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 {