github / github/copilot-cli

`ask_user` User input formatting issues

Đang mở
#3,722 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
area:input-keyboard area:terminal-rendering
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.