feat(mecatui): insert newline with Shift+Enter in chat input
Open
@JAORMX is already working on this.
Since Sep 5, 2026.
- Dominant language
- Go
- Stars
- 152
- Forks
- 16
- Avg merge
- 14h 48m
- Merged PRs (30d)
- 536
Description
Problem
The mecatui input box needs a way to insert a newline without submitting the prompt.
Desired behavior
- Pressing Shift+Enter in the input box inserts a newline at the cursor position.
- Pressing Enter continues to submit the prompt unchanged.
- The behavior works with multiline input, including subsequent edits and submission.
Acceptance criteria
- Shift+Enter inserts a newline and does not submit the prompt.
- Enter submits the current multiline prompt.
- The input UI correctly renders and preserves multiline content.
- Add/update offline UI tests covering both key paths.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.