Skip to content

user_prompt pop-up truncates long content — no scroll in TUI #2495

@steilerDev

Description

@steilerDev

Description

When an agent calls user_prompt with a large number of items or multi-line item text, the pop-up dialog in the TUI is clipped at the bottom. There is no scroll mechanism, so content beyond the visible area is permanently inaccessible — the user cannot see or select truncated options.

Steps to Reproduce

  1. Have an agent call user_prompt with either:
    • A large number of items (e.g. 10+ triage items), or
    • Items with long multi-line title values (e.g. structured options with \n\t line breaks for detail)
  2. Observe the pop-up in the TUI

Expected Behavior

The user_prompt pop-up should be scrollable when content exceeds the visible terminal height, allowing the user to navigate to and select any item.

Actual Behavior

The pop-up is clipped at the bottom of the terminal. Items beyond the visible area are cut off with no way to scroll to them. Selection is impossible for truncated options.

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