github / github/app

Add configurable multiline input behavior to chat

Đang mở
#2,553 0 bình luận 5 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.1k
Fork
153
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Feature summary

Please add an option for easier multiline prompt editing in chat.

### What problem are you trying to solve?

Writing multiline prompts is difficult because pressing `Enter` immediately sends the message instead of adding a new line.

**Proposed behavior:**

- `Enter` inserts a new line.

- `Ctrl+Enter` sends the prompt.

- Add a general setting or toggle to the chat so users can choose between this behavior and the current `Enter to send` behavior.

**Why:**

This would make writing and editing longer, structured prompts easier while accommodating different user preferences.

**Acceptance criteria:**

- Users can select their preferred send shortcut in Settings or with the toggle.

- The selected behavior persists across sessions.

- The UI clearly indicates the active send shortcut.

### Proposed solution

- `Enter` inserts a new line.

- `Ctrl+Enter` sends the prompt.

- Add a general setting or toggle to the chat so users can choose between this behavior and the current `Enter to send` behavior.

### Workflow impact

This would make longer, structured prompts easier to write and reduce accidental submissions, while preserving each user’s preferred workflow.

### Installation context

_No response_

### Additional context

_No response_

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

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

Hướng nghiên cứu

Không có tệp hoặc bài kiểm thử nào được nêu tên. Hãy bắt đầu bằng cách xác định trình soạn thảo chat và điểm truy cập để lưu bền các cài đặt hoặc tùy chọn, sau đó lần theo cách phím tắt gửi hiện tại được xử lý. Công việc được xem là hoàn tất khi người dùng có thể chọn một trong hai phím tắt, lựa chọn đó được duy trì qua các phiên và phím tắt đang hoạt động được hiển thị rõ ràng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
desktop, frontend
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

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.