We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21ea24e commit 8947fe8Copy full SHA for 8947fe8
1 file changed
src/main.js
@@ -9363,6 +9363,14 @@ async function sendMessage(messageText) {
9363
evt.preventDefault();
9364
await sendMessage(domChatMessageInput.value);
9365
}
9366
+ // ESC key cancels reply/edit mode
9367
+ if (evt.key === 'Escape') {
9368
+ if (strCurrentEditMessageId) {
9369
+ cancelEdit();
9370
+ } else if (strCurrentReplyReference) {
9371
+ cancelReply();
9372
+ }
9373
9374
});
9375
9376
0 commit comments