File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/client/common/terminal Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments