Focus message input box when pressing Esc

This helps with #1065, although I think making sure the message input box gets focus by default would be worthwhile.
This commit is contained in:
Forest 2022-08-19 07:41:22 +00:00 committed by GitHub
parent ff87bef030
commit 4d1a01c829
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,6 +198,7 @@ Item {
chat.model.reply = undefined; chat.model.reply = undefined;
else else
chat.model.edit = undefined; chat.model.edit = undefined;
TimelineManager.focusMessageInput();
} }
} }