Skip to content

Commit 4a6b9d5

Browse files
committed
Reopen terminal if closed
1 parent 561850e commit 4a6b9d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export async function activate(context: ExtensionContext) {
164164
}
165165

166166
// Create a new terminal
167-
if (terminal === undefined) {
167+
if (terminal === undefined || terminal.exitStatus) {
168168
terminal = window.createTerminal("Sketch");
169169
}
170170

0 commit comments

Comments
 (0)