Fix shift-enter repeating last character (#7665)

pull/21833/head
Šimon Brandner 2022-01-28 16:32:30 +01:00 committed by GitHub
parent 0c10385dd2
commit db09d16205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -140,6 +140,13 @@ const messageComposerBindings = (): KeyBinding<MessageComposerAction>[] => {
key: Key.ENTER,
},
});
bindings.push({
action: MessageComposerAction.NewLine,
keyCombo: {
key: Key.ENTER,
shiftKey: true,
},
});
} else {
bindings.push({
action: MessageComposerAction.Send,