Preserve terminal feedback while coalescing repaints
This commit is contained in:
1 parent
8c26aad128
commit
e222d336a5
13 files changed
+321
-39
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user