Preserve terminal feedback while coalescing repaints

This commit is contained in:
Storm Dragon committed 2026-11-04 12:22:11 -05:00
1 parent 8c26aad128
commit e222d336a5
13 files changed
+321 -39

No files matched your search

+3
View File
@@ -47,6 +47,9 @@ func (handler *accessibilityEventHandler) acceptFocusedEvent(event atspi.Event,
state.pending.browserButtonName.clear()
}
focusID := event.Source.ID()
if isFocusGainEvent(event) && state.pending.terminalRepaint.event.Source.ID() != focusID {
state.pending.terminalRepaint.clear()
}
if isFocusGainEvent(event) {
state.focusCaretID = focusID
state.focusCaretSequence = activity.Sequence