Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit 0cb3a72

Browse files
committed
🐛 Focus back on the terminal after closing settings
1 parent 50f5780 commit 0cb3a72

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/_renderer.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,9 @@ window.openSettings = () => {
664664
}, () => {
665665
// Link the keyboard back to the terminal
666666
window.keyboard.attach();
667+
668+
// Focus back on the term
669+
window.term[window.currentTerm].term.focus();
667670
});
668671
};
669672

0 commit comments

Comments
 (0)