Feature request shift + enter for a new line in the chat
- Ngôn ngữ chính
- TypeScript
- Star
- 2.7k
- Fork
- 172
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hello,
First of all, thank you for providing this.
I would like to request the following feature:
I want to be able to press shift + enter, like in most chat program to format messages across multiple lines.
Right now, this combination just sends the message to the LLM.
Best regards
Lennart
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Look for the chat input component, likely in a file like ChatInput.tsx or similar. Find the event handler for the keydown event and modify it to check for Shift+Enter to insert a newline, while keeping Enter alone to send the message. Test the change in the browser to ensure both actions work correctly.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- frontend
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 65/100