fix: paste into terminals that expose no accessibility element - #4
Merged
Conversation
Terminals like Warp and Ghostty expose no AX tree, so neither the system-wide nor the app-level AXFocusedUIElement lookup returns anything and dictation kept diverting to the clipboard. When no focused element can be resolved, paste into the frontmost app instead of copying — unless that app is EchoType itself or the Finder (desktop), which are never text targets. Log the frontmost app name for diagnosis. Bump to 1.0.6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Terminals like Warp/Ghostty expose no AX tree, so no focused element resolves (confirmed from field log:
no focused elementpersists through the app-level fallback). When nothing resolves, paste into the frontmost app instead of copying to clipboard — unless it is EchoType or Finder. Logs the frontmost app name. Bump to 1.0.6.