Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykim1 committed Dec 9, 2024
1 parent fbd54c2 commit 8580b20
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/client/common/terminal/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ export class TerminalService implements ITerminalService, Disposable {
});
await promise;
}
// TODO: need to use sendText for Python3.13 as well.
const config = getConfiguration('python');
const pythonrcSetting = config.get<boolean>('terminal.shellIntegration.enabled');

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

if (isPythonShell && (!pythonrcSetting || isWindows() || isWsl() || isPython313)) {
if (isPythonShell && (!pythonrcSetting || isWindows() || isPython313)) {
// If user has explicitly disabled SI for Python, use sendText for inside Terminal REPL.
terminal.sendText(commandLine);
return undefined;
Expand Down

0 comments on commit 8580b20

Please sign in to comment.