Skip to content

fix(prompt): remove shell mode suspension from input traits#25305

Open
adavila0703 wants to merge 1 commit intoanomalyco:devfrom
adavila0703:fix/prompt-shell-suspend
Open

fix(prompt): remove shell mode suspension from input traits#25305
adavila0703 wants to merge 1 commit intoanomalyco:devfrom
adavila0703:fix/prompt-shell-suspend

Conversation

@adavila0703
Copy link
Copy Markdown

Issue for this PR

Closes #25294

Type of change

  • Bug fix

What does this PR do?

Removes the store.mode === "shell" condition from the suspend trait in the TUI prompt component. Previously, entering shell mode unconditionally suspended the prompt input. After this change, the prompt only suspends when props.disabled is true, allowing the input to remain active in shell mode if appropriate.

How did you verify your code works?

  • Ran bun turbo typecheck (passed)
  • Change is isolated to a single line in the prompt component
  • Was able to replicate the issue before the change, confirmed change fixed it.

Screenshots / recordings

N/A — logic change, no visual UI modification.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

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.

Shell Mode don't responce to backspace

1 participant