Skip to content

feat: add focusOnOpen option to Terminal#149

Open
sauyon wants to merge 1 commit intocoder:mainfrom
sauyon:feat/focus-on-open
Open

feat: add focusOnOpen option to Terminal#149
sauyon wants to merge 1 commit intocoder:mainfrom
sauyon:feat/focus-on-open

Conversation

@sauyon
Copy link
Copy Markdown

@sauyon sauyon commented Apr 1, 2026

Add a focusOnOpen boolean option (default: true) that controls whether the terminal automatically focuses itself when open() is called. Setting it to false lets embedders open a terminal in the background without stealing keyboard focus from another element.

Add a `focusOnOpen` boolean option (default: `true`) that controls
whether the terminal automatically focuses itself when `open()` is
called.  Setting it to `false` lets embedders open a terminal in
the background without stealing keyboard focus from another element.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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