Two related improvements to the chat input box:
-
Configurable submit behavior. Add a user setting to control how Enter and Option+Enter work:
- Mode A (current):
Enter submits, Shift/Option+Enter inserts newline
- Mode B:
Enter inserts newline, Option+Enter (or Cmd+Enter) submits
Useful for users who frequently send multi-line messages and accidentally submit early.
-
Auto-expanding input box. As the user types or adds newlines, the textarea should grow vertically (up to some max height, then scroll internally) instead of staying a fixed single line.
Two related improvements to the chat input box:
Configurable submit behavior. Add a user setting to control how
EnterandOption+Enterwork:Entersubmits,Shift/Option+Enterinserts newlineEnterinserts newline,Option+Enter(orCmd+Enter) submitsUseful for users who frequently send multi-line messages and accidentally submit early.
Auto-expanding input box. As the user types or adds newlines, the textarea should grow vertically (up to some max height, then scroll internally) instead of staying a fixed single line.