Skip to content

Commit 8580b20

Browse files
committed
clean up
1 parent fbd54c2 commit 8580b20

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/client/common/terminal/service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ export class TerminalService implements ITerminalService, Disposable {
102102
});
103103
await promise;
104104
}
105-
// TODO: need to use sendText for Python3.13 as well.
106105
const config = getConfiguration('python');
107106
const pythonrcSetting = config.get<boolean>('terminal.shellIntegration.enabled');
108107

@@ -117,7 +116,7 @@ export class TerminalService implements ITerminalService, Disposable {
117116
const pythonVersion = interpreterInfo && interpreterInfo.version ? interpreterInfo.version.raw : undefined;
118117
const isPython313 = pythonVersion?.startsWith('3.13');
119118

120-
if (isPythonShell && (!pythonrcSetting || isWindows() || isWsl() || isPython313)) {
119+
if (isPythonShell && (!pythonrcSetting || isWindows() || isPython313)) {
121120
// If user has explicitly disabled SI for Python, use sendText for inside Terminal REPL.
122121
terminal.sendText(commandLine);
123122
return undefined;

0 commit comments

Comments
 (0)