Esnure editor focus after invoking a command via a keyboard shortcut

pull/66/head
Zef Hemel 2022-07-30 12:57:52 +02:00
parent 16ba36f52a
commit b5ba23130b
1 changed files with 4 additions and 0 deletions

View File

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