Add configurable multiline input behavior to chat
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 2.1k
- Forks
- 153
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### 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_
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Aucun fichier ni test n’est indiqué. Commencez par localiser le compositeur de chat et le point d’entrée de la persistance des paramètres ou des préférences, puis suivez la façon dont le raccourci d’envoi actuel est géré. C’est terminé lorsque les utilisateurs peuvent choisir l’un ou l’autre des deux raccourcis, que ce choix persiste d’une session à l’autre et que le raccourci actif est clairement affiché.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Domaine
- desktop, frontend
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 48/100