github / github/copilot-cli

`ask_user` User input formatting issues

Offen
#3,722 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
area:input-keyboard area:terminal-rendering
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### Describe the bug

When the user enters text into the "Other" section of a user response, if they go more than two lines, it just disappears (the text is recorded, you just can't see it being typed anymore). This feels really weird. I can't scroll down to see it or anything. I have to hope I spell good enough...
Something similar happens when doing a multi-line "free response" as well.

### Affected version

1.0.60

### Steps to reproduce the behavior

1. Have the agent ask you for input with a multiple choice question with "other" option and/or multi-line free response
2. Type a lot of text that takes up more than 2 or 3 lines (can make terminal smaller to force line wrap sooner).
3. See that text disappears into the darkness, also bottom divider line disappears too.

### Expected behavior

I would expect that the text area just expands to show my text similar to the normal text entry during chat. I want to always be able to see the text as I write it!

### Additional context

In both of these images I have text that continues on below the last line, it just isn't rendered.

### Other Input
Image
Note that the cursor is stuck at the end of the first line (doesn't show in screenshot)

### Multiline Input
Image
Note that the cursor is moving along the hidden bottom line but all the text is invisible (doesn't show in screenshot).

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.