Skip to content

Commit 5ad5167

Browse files
committed
Fix issue #137: Manim session could not be started.
1 parent 398fdf8 commit 5ad5167

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/manimShell.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,8 @@ export class ManimShell {
810810
async (event: vscode.TerminalShellExecutionEndEvent) => {
811811
if (this.shellWeTryToSpawnIn === event.terminal) {
812812
Logger.debug("❌ Tried to spawn a new Manim session, but it failed");
813+
if (event.execution.commandLine.value.split(" ")[0] !== "manimgl")
814+
return;
813815
this.eventEmitter.emit(ManimShellEvent.MANIM_NOT_STARTED);
814816
this.resetActiveShell();
815817
Window.showErrorMessage(

0 commit comments

Comments
 (0)