Feature Request: Change "Enter" Behavior to Only Insert a Line Break

Feature Request: Change “Enter” Behavior to Only Insert a Line Break

Summary

Currently, pressing the “Enter” key" submits a message immediately, often resulting in accidental submissions before a query is fully constructed. This is especially problematic when working on multi-line queries, as it leads to wasted responses and incomplete questions.

Proposed Solution

Modify the chat input behavior so that:

  • Pressing “Enter” inserts a line break instead of submitting the message.
  • Messages are only submitted by clicking the “Arrow Up” button in the interface.
  • Alternatively, a setting could allow users to choose between:
    • “Enter submits message” (current behavior).
    • “Enter inserts a new line, Arrow Up button submits” (requested behavior).

Why This Matters

  • Prevents accidental submissions, reducing frustration when composing detailed queries.
  • Saves tokens, as prematurely submitted questions often result in incomplete responses, requiring a second message to clarify.
  • Gives users more control over when their message is sent.
  • Aligns with standard text input behavior in many text editors and messaging apps.

This change would significantly improve usability, especially for users writing complex queries.