Skip to content

fix: resolve focused element via frontmost app for terminal paste - #3

Merged
iqbalhasandev merged 1 commit into
mainfrom
fix/paste-terminal-focus-fallback
Sep 6, 2026
Merged

fix: resolve focused element via frontmost app for terminal paste#3
iqbalhasandev merged 1 commit into
mainfrom
fix/paste-terminal-focus-fallback

Conversation

@iqbalhasandev

Copy link
Copy Markdown
Member

1.0.4 still copied to clipboard in terminals — the system-wide AXFocusedUIElement returns empty for some apps, so detection saw "no focused element". Fall back to the frontmost application's own focused element, which terminals expose. Confirmed root cause from field log (paste: no focused element). Bump to 1.0.5.

1.0.4 still copied to clipboard in terminals: the system-wide
AXFocusedUIElement attribute returns empty for some apps, so detection
logged "no focused element" and skipped the paste. Fall back to the
frontmost application's own AXFocusedUIElement, which terminals do expose.

Bump to 1.0.5.
Copilot AI lite review requested due to automatic review settings September 6, 2026 03:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@iqbalhasandev
iqbalhasandev merged commit 957054a into main Sep 6, 2026
1 check passed
@iqbalhasandev
iqbalhasandev deleted the fix/paste-terminal-focus-fallback branch September 6, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants