Skip to content

fix(tui): cannot type into custom answer input in question prompts #41514

Description

@ziuus

Description

When a question prompt offers "Type your own answer" (custom answer option), selecting it with arrow keys + Enter opens the input but it locks / cannot be typed into. Typing does nothing or the edit immediately exits. Reproducible in the TUI and in CLI direct/run mode question prompts.

Steps to reproduce

  1. Trigger any question tool call that has a "Type your own answer" option.
  2. Arrow down to the custom option and press Enter.
  3. Try to type — characters are not registered or the edit exits immediately.

Expected behavior

After selecting the custom option, the text input keeps focus and accepts typing until Enter is pressed to save.

Actual behavior

The input locks up / can't be typed into, or the edit mode immediately closes.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions