Skip to content

Add the Escape-to-stop composer setting - #2442

Closed
SawyerHood wants to merge 1 commit into
bb/garden-1-small-fixesfrom
bb/garden-2-escape-to-stop
Closed

SawyerHood wants to merge 1 commit into
bb/garden-1-small-fixesfrom
bb/garden-2-escape-to-stop

Conversation

@SawyerHood

@SawyerHood SawyerHood commented Aug 25, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Escape in the composer could only blur it. Users who steer a running thread from the keyboard wanted Escape to stop the running thread instead, without giving up focus.

What changed

  • New app setting composerEscapeBehavior (blur | stop-running-thread, default blur) in packages/domain/src/app-settings.ts, exposed through the settings API/CLI (bb settings), documented in docs/configuration.md and the bb-cli skill's app-settings reference.
  • PromptBoxInternal / FollowUpPromptBox / ThreadDetailPromptArea / EmbeddedThreadChat thread the behavior to the key handler; Settings → General gets the "Escape in composer" row.

No wire change. Prerequisite: #2441 (stack order only; no code dependency).

How you verified

turbo run typecheck; turbo run test for @bb/app (promptbox, thread-detail, embedded-chat), @bb/server (general settings), @bb/cli (settings output), @bb/db (migrate defaults), @bb/domain.

Fixes: none (upstream stack split).

AGENT GENERATED

@SawyerHood

Copy link
Copy Markdown
Collaborator Author

This is an automated message. We have closed this pull request because it has been open for more than two weeks.

@SawyerHood SawyerHood closed this Sep 9, 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