File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/client/common/terminal Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import { useEnvExtension } from '../../envExt/api.internal';
2525import { ensureTerminalLegacy } from '../../envExt/api.legacy' ;
2626import { sleep } from '../utils/async' ;
2727import { isWindows } from '../utils/platform' ;
28+ import { trace } from 'console' ;
2829
2930@injectable ( )
3031export class TerminalService implements ITerminalService , Disposable {
@@ -92,6 +93,13 @@ export class TerminalService implements ITerminalService, Disposable {
9293 const ourTerminalState = e . state ;
9394 console . log ( ourTerminalState ) ;
9495 traceVerbose ( 'Printing our terminal state from service.ts' , ourTerminalState ) ;
96+
97+ const ourStateTypeless = ( ourTerminalState as unknown ) as { isInteractedWith : any ; shellType : any } ;
98+ const ourState = ourStateTypeless . isInteractedWith ;
99+ traceVerbose ( 'Printing our terminal state from service.ts' , ourState ) ;
100+ const ourShellType = ourStateTypeless . shellType ;
101+ traceVerbose ( 'Printing our terminal state from service.ts' , ourShellType ) ;
102+ traceVerbose ( 'finished printing our terminal state' ) ;
95103 } ) ;
96104 // If terminal was just launched, wait some time for shell integration to onDidChangeShellIntegration.
97105 if ( ! terminal . shellIntegration && this . _terminalFirstLaunched ) {
You can’t perform that action at this time.
0 commit comments