From 7e5a10caf9298bd87288461dc1dfb73261b7d746 Mon Sep 17 00:00:00 2001 From: Anthony Kim Date: Mon, 3 Feb 2025 09:32:13 -0800 Subject: [PATCH] bring my code back --- src/client/common/terminal/service.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/common/terminal/service.ts b/src/client/common/terminal/service.ts index 0a1271d8153d..a051d66f015f 100644 --- a/src/client/common/terminal/service.ts +++ b/src/client/common/terminal/service.ts @@ -116,9 +116,8 @@ export class TerminalService implements ITerminalService, Disposable { this.serviceContainer.get(IInterpreterService), ) : undefined; - || (minorVersion ?? 0) >= 13 - if ((isPythonShell && !pythonrcSetting) || (isPythonShell && isWindows())) { + if ((isPythonShell && !pythonrcSetting) || (isPythonShell && isWindows()) || (minorVersion ?? 0) >= 13) { // If user has explicitly disabled SI for Python, use sendText for inside Terminal REPL. terminal.sendText(commandLine); return undefined;