From b3499211d11e5b1f5ef40cf46b63ebb839880039 Mon Sep 17 00:00:00 2001 From: Brendan Kellam Date: Thu, 19 Feb 2026 15:40:36 -0800 Subject: [PATCH 1/2] feat(web): Insert newline on Alt+Enter in chat box Co-Authored-By: Claude Sonnet 4.6 --- .../web/src/features/chat/components/chatBox/chatBox.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/web/src/features/chat/components/chatBox/chatBox.tsx b/packages/web/src/features/chat/components/chatBox/chatBox.tsx index f95621aa4..1e3030f9f 100644 --- a/packages/web/src/features/chat/components/chatBox/chatBox.tsx +++ b/packages/web/src/features/chat/components/chatBox/chatBox.tsx @@ -215,6 +215,12 @@ const ChatBoxComponent = ({ break; } + if (event.altKey) { + event.preventDefault(); + editor.insertBreak(); + break; + } + event.preventDefault(); onSubmit(); break; From 98682b032be4a5010544f14a790b1d594f6da9ca Mon Sep 17 00:00:00 2001 From: Brendan Kellam Date: Thu, 19 Feb 2026 15:40:54 -0800 Subject: [PATCH 2/2] changelog Co-Authored-By: Claude Sonnet 4.6 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 503eb3d1a..41e4dbdab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Changed the "Open in" button copy to distinguish between Bitbucket serve & cloud. [#910](https://github.com/sourcebot-dev/sourcebot/pull/910) +- `Alt+Enter` (Option+Enter on Mac) now inserts a newline in the chat input instead of submitting. [#912](https://github.com/sourcebot-dev/sourcebot/pull/912) ## [4.11.3] - 2026-02-19