Skip to content

feat: add focus_after_send option for terminal behavior #118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: thomask33/feat_add_working_directory_control_for_Claude_terminal
Choose a base branch
from

Conversation

ThomasK33
Copy link
Member

Add focus_after_send option to control terminal focus behavior

Added a new configuration option focus_after_send that controls whether the Claude terminal should be focused after a successful send when already connected.

When enabled, the terminal will be focused after sending code to Claude. When disabled (the default), the terminal will only be made visible but not focused.

This provides more control over the workflow when interacting with Claude:

  • Default behavior (false): Terminal becomes visible but doesn't steal focus
  • Optional behavior (true): Terminal becomes visible and focused after sending

The PR includes:

  • Configuration option in the main config structure
  • Type definition updates
  • Implementation in the send_at_mention function
  • Documentation in README.md
  • Unit tests to verify both behaviors

@ThomasK33 ThomasK33 marked this pull request as ready for review August 8, 2025 14:11
@ThomasK33 ThomasK33 linked an issue Aug 8, 2025 that may be closed by this pull request
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_working_directory_control_for_Claude_terminal branch from e2c03ba to dacbe9b Compare August 8, 2025 14:18
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_focus_after_send_option_for_terminal_behavior branch from 289cf85 to 5f19ec4 Compare August 8, 2025 14:18
Change-Id: Iff065cea29c3935b76be2c78cd27e0bd9e9f9854
Signed-off-by: Thomas Kosiewski <[email protected]>
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_working_directory_control_for_Claude_terminal branch from dacbe9b to e1945e6 Compare August 8, 2025 19:34
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_focus_after_send_option_for_terminal_behavior branch from 5f19ec4 to 4d61264 Compare August 8, 2025 19:34
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.

[FEATURE] send and focus in one command
1 participant