From 2ddec8b29c46f57481463abd9b56a39185986918 Mon Sep 17 00:00:00 2001 From: raven Date: Wed, 11 Feb 2026 17:08:51 -0600 Subject: mark channel read upon interaction with UI --- client/ui.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'client/ui.go') diff --git a/client/ui.go b/client/ui.go index 3cba7e2..8331799 100644 --- a/client/ui.go +++ b/client/ui.go @@ -57,6 +57,13 @@ func (a *application) onInput(ev tui.Event) { } } + if ev.Key != 0 { + switch cl := a.currentWindow.(type) { + case channelLocation: + a.windowCache.Get(cl).(*channelWindow).fingersPresent() + } + } + buf := win.Buffer() scroll := tui.Size().Height - 5 switch ev.Key { -- cgit v1.2.3