Skip to content

AskUserQuestion: preview panel should be scrollable #34508

@AlfaKeNTAvR

Description

@AlfaKeNTAvR

Problem

The preview field on AskUserQuestion options truncates content with a "N lines hidden" indicator when it exceeds the panel height. There's no way to configure the panel size or scroll to see the full content.

Screenshot

Image

Example

When presenting commit split options, even a short preview like this gets truncated:

1. feat: Add terminal bell hooks for notifications
   Files: settings.json (hooks section), hooks/stop.py

2. fix: Use current context tokens in statusline
   Files: statusline.sh, settings.json (no overlap — hooks
   section is additive)

Suggested fix

Make the preview panel scrollable so users can see the full content, rather than hard-truncating it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions