1
0

Esnure editor focus after invoking a command via a keyboard shortcut

This commit is contained in:
Zef Hemel 2022-07-30 12:57:52 +02:00
parent 16ba36f52a
commit b5ba23130b

View File

@ -360,6 +360,10 @@ export class Editor {
`Error running command: ${e.message}`, `Error running command: ${e.message}`,
"error" "error"
); );
})
.then(() => {
// Always be focusing the editor after running a command
editor.focus();
}); });
return true; return true;
}, },