From 515b9084b4b9c12d2197e20cd12bc230a3a7e436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Fri, 28 Jan 2022 16:22:50 +0100 Subject: [PATCH] Fix shift-enter repeating last char MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/KeyBindingsDefaults.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/KeyBindingsDefaults.ts b/src/KeyBindingsDefaults.ts index bcb280a6626..b6296e2dd43 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,