Matt Toohey 08106b67ef fix: treat Option+Return as newline in multiline text inputs (#118)
* fix: treat Option+Return as newline in multiline text inputs

Currently only Shift+Return inserts a newline in multiline text areas
(like the chat input). Option+Return (Alt+Return) was treated the same
as plain Return, triggering the send action.

Add altKey checks alongside the existing shiftKey checks in both:
- ChatInput: skip send when altKey is held
- PromptInputTextarea: early-return (allow newline) when altKey is held

* test: add alt-enter multiline regression coverage
2026-04-08 15:06:39 +10:00
S
Description
an open-source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM
Apache-2.0 2 GiB
Languages
Rust 63.6%
TypeScript 29.6%
JavaScript 1.7%
Shell 1.6%
Python 1.5%
Other 1.8%