Skip to content

Commit 37cb155

Browse files
authored
Merge pull request #3124 from SamJessep/fix/tn5250_terminal_tab_does_not_have_focus
Fixed an issue where the first terminal created after connecting doesn't get focused automatically
2 parents 154bc1b + f75b699 commit 37cb155

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,4 @@ Thanks so much to everyone [who has contributed](https://github.com/codefori/vsc
7070
* [@NattyNarwhal](https://github.com/NattyNarwhal)
7171
* [@jman116](https://github.com/jman116)
7272
* [@Mohammed-Yaseen-Ali-2081](https://github.com/Mohammed-Yaseen-Ali-2081)
73+
* [@SamJessep](https://github.com/SamJessep)

src/ui/Terminal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ export namespace Terminal {
175175
}
176176
},
177177
});
178-
emulatorTerminal.show();
179178
})
180179

181180
if (emulatorTerminal) {
181+
emulatorTerminal!.show(false);
182182
channel.on(`close`, () => {
183183
channel.destroy();
184184
writeEmitter.dispose();

0 commit comments

Comments
 (0)