Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix shift-enter repeating last character (#7665)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBrandner authored Jan 28, 2022
1 parent 0c10385 commit db09d16
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/KeyBindingsDefaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit db09d16

Please sign in to comment.