From db09d162050f33da261c63980f16cd5b6f8d26a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Fri, 28 Jan 2022 16:32:30 +0100 Subject: [PATCH] Fix shift-enter repeating last character (#7665) --- src/KeyBindingsDefaults.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/KeyBindingsDefaults.ts b/src/KeyBindingsDefaults.ts index bcb280a662..b6296e2dd4 100644 --- a/src/KeyBindingsDefaults.ts +++ b/src/KeyBindingsDefaults.ts @@ -140,6 +140,13 @@ const messageComposerBindings = (): KeyBinding[] => { key: Key.ENTER, }, }); + bindings.push({ + action: MessageComposerAction.NewLine, + keyCombo: { + key: Key.ENTER, + shiftKey: true, + }, + }); } else { bindings.push({ action: MessageComposerAction.Send,