github / github/copilot-cli

`ask_user` User input formatting issues

Aberta
#3,722 0 comentários 1 reação 0 responsáveis Ver no GitHub
area:input-keyboard area:terminal-rendering
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

### 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).

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.