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

Commit db09d16

Browse files
Fix shift-enter repeating last character (#7665)
1 parent 0c10385 commit db09d16

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/KeyBindingsDefaults.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,13 @@ const messageComposerBindings = (): KeyBinding<MessageComposerAction>[] => {
140140
key: Key.ENTER,
141141
},
142142
});
143+
bindings.push({
144+
action: MessageComposerAction.NewLine,
145+
keyCombo: {
146+
key: Key.ENTER,
147+
shiftKey: true,
148+
},
149+
});
143150
} else {
144151
bindings.push({
145152
action: MessageComposerAction.Send,

0 commit comments

Comments
 (0)