Correctly refresh user active state on shortcut input
MODIFY
ui/window.go
ui/window.go
@@ -2203,19 +2203,19 @@ func (window *Window) handleGlobalShortcuts(event *tcell.EventKey) *tcell.EventK
return nil
}
+ // Maybe compare directly to table?
+ window.userActive = true
+ window.userActiveTimer.Reset(userInactiveTime)
+
if shortcuts.ToggleBareChat.Equals(event) {
window.toggleBareChat()
return nil
}
- // Maybe compare directly to table?
if window.currentContainer != window.rootContainer {
return event
}
- window.userActive = true
- window.userActiveTimer.Reset(userInactiveTime)
-
if window.dialogReplacement.IsVisible() {
return event
}

Correctly refresh user active state on shortcut input