fix: focus message input on deleting a message

This commit is contained in:
2024-09-03 15:42:31 +02:00
parent 9fa656ed5e
commit 49c73a3d76

View File

@@ -231,6 +231,7 @@ export class MainView extends View {
itm.onKeyDown((key: string, alt: boolean | undefined, shift: boolean | undefined, ctrl: boolean | undefined) => {
if (key === "Delete") {
this.removeMessage(message.id);
this.messageInput.focus()
}
});
return itm;