Skip to content

feat: hide cursor when terminal is unfocused - #5

Open
arvsrn wants to merge 2 commits into
mainfrom
terminal-focus
Open

feat: hide cursor when terminal is unfocused#5
arvsrn wants to merge 2 commits into
mainfrom
terminal-focus

Conversation

@arvsrn

@arvsrn arvsrn commented Jul 29, 2026

Copy link
Copy Markdown
Member
  • Hides the canvas cursor and stops blinking while the terminal or desktop window is unfocused
  • Makes open() mount-only so cached terminals cannot steal newer focus
  • Updates focus() and blur() to target the hidden textarea
  • Adds focused regression coverage and updates demos to call focus() explicitly
  • Keeps existing method signatures and adds no new public API
  • Includes generated dist artifacts in a separate commit

@arvsrn arvsrn changed the title Terminal focus feat: hide cursor when terminal is unfocused Jul 29, 2026
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.

1 participant