feat(tui): animate interrupt confirmation - #42602
Merged
Merged
Conversation
kitlangton
force-pushed
the
interrupt-hint-motion
branch
from
August 14, 2026 15:26
21a6dff to
ef90b04
Compare
kitlangton
force-pushed
the
interrupt-hint-motion
branch
from
August 14, 2026 16:18
ef90b04 to
1063120
Compare
kitlangton
enabled auto-merge (squash)
August 14, 2026 16:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Flash the interrupt hint when the first Escape press arms confirmation. The copy changes immediately to
esc again to interrupt, then settles to the theme's warning color after 220 ms.How
text.feedback.warning.defaultwiththeme.decrease(..., 2), with no hard-coded hue.Scope
Interrupt behavior, keybindings, and theme tokens are unchanged.
Testing
bun typecheckinpackages/tuibun run test test/cli/tui/prompt-interrupt-status.test.tsxinpackages/tuibunx prettier --check packages/tui/src/component/prompt/index.tsx packages/tui/test/cli/tui/prompt-interrupt-status.test.tsxbun turbo typecheck --concurrency=3Demo
Production component rendered through a temporary local fixture.
interrupt-pr-demo-tight.mp4