Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Conversation

Copy link
Member

@ThomasK33 ThomasK33 commented Aug 8, 2025

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

jdurand, junheep-dev, and derethil reacted with heart emoji
@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
@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
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_working_directory_control_for_Claude_terminal branch from e1945e6 to fbcc5d8 Compare August 10, 2025 16:22
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_focus_after_send_option_for_terminal_behavior branch from 4d61264 to 020a022 Compare August 10, 2025 16:22
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_focus_after_send_option_for_terminal_behavior branch from 020a022 to 285816f Compare September 3, 2025 15:16
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_working_directory_control_for_Claude_terminal branch from fbcc5d8 to 6492393 Compare September 3, 2025 15:16
Copy link
Member Author

ThomasK33 commented Sep 10, 2025
edited
Loading

Merge activity

  • Sep 10, 3:36 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Sep 10, 3:46 PM UTC: Graphite rebased this pull request as part of a merge.
  • Sep 10, 3:46 PM UTC: @ThomasK33 merged this pull request with Graphite.

@ThomasK33 ThomasK33 changed the base branch from thomask33/feat_add_working_directory_control_for_Claude_terminal to graphite-base/118 September 10, 2025 15:43
@ThomasK33 ThomasK33 changed the base branch from graphite-base/118 to main September 10, 2025 15:44
Change-Id: Iff065cea29c3935b76be2c78cd27e0bd9e9f9854
Signed-off-by: Thomas Kosiewski <tk@coder.com>
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_focus_after_send_option_for_terminal_behavior branch from 285816f to 4009e22 Compare September 10, 2025 15:45
@ThomasK33 ThomasK33 merged commit 3e66fd9 into main Sep 10, 2025
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

[FEATURE] send and focus in one command
1 participant

AltStyle によって変換されたページ (->オリジナル) /