Add configurable multiline input behavior to chat
- 主要言語
- 言語のデータがありません
- スター
- 2.1k
- フォーク
- 153
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### 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_
コントリビューションガイド
調査の方向性
ファイルやテストは指定されていません。まずチャットコンポーザーと、設定または環境設定の永続化のエントリーポイントを見つけ、次に現在の送信ショートカットがどのように処理されているかを追跡してください。ユーザーが2つのショートカットのいずれかを選択でき、その選択がセッションをまたいで保持され、アクティブなショートカットが明確に表示されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- desktop, frontend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100