Add configurable multiline input behavior to chat
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 2.1k
- Forks
- 153
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### 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_
Beitragsleitfaden
Rechercherichtung
Es werden keine Dateien oder Tests genannt. Beginne damit, den Chat-Composer und den Einstiegspunkt für die Persistenz der Einstellungen oder Präferenzen zu finden, und verfolge dann, wie die aktuelle Tastenkombination zum Senden verarbeitet wird. Als erledigt gilt die Aufgabe, wenn Benutzer eine der beiden Tastenkombinationen auswählen können, die Auswahl sitzungsübergreifend bestehen bleibt und die aktive Tastenkombination eindeutig angezeigt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- desktop, frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100