-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Problem
When I execute powershell cmdlets like get-date or Write-Output , sometime CLine can not "see".
- windows 10
- VSCode v1.99.3
- Powershell v7.5
Input in Command Palette : get-date
terminal in the new window:
PS C:\Users\admin> get-date
2025年4月24日 15:35:23
PS C:\Users\admin>
Debug console in the primary window
OS: Windows_NT win32 x64 10.0.19045
Shell: C:\WINDOWS\system32\cmd.exe
Shell Version: Microsoft Windows [�汾 10.0.19045.5737]
(c) Microsoft Corporation����������Ȩ����
D:\Green\VSCode-win32-x64>
Node.js Version: v20.18.3
VSCode Version: 1.99.3
Running command: get-date
Waiting for shell integration...
Shell integration changed for terminal shell-integration-problems
Shell integration changed for terminal shell-integration-problems
Shell integration available
Shell execution started in terminal shell-integration-problems
Read chunk: '\x1B]633;C\x07\x1B[93mget-date\x1B[m\x1B[K\r\n\x1B[?25h\x1B[25l'
Shell execution ended in terminal shell-integration-problems with exit code 0 for command "get-date"
Input in Command Palette get-date again
Terminal in the new window:
PS C:\Users\admin> get-date
2025年4月24日 15:35:23
PS C:\Users\admin> get-date
2025年4月24日 15:40:02
PS C:\Users\admin>
Debug console in the primary window
OS: Windows_NT win32 x64 10.0.19045
Shell: C:\WINDOWS\system32\cmd.exe
Shell Version: Microsoft Windows [�汾 10.0.19045.5737]
(c) Microsoft Corporation����������Ȩ����
D:\Green\VSCode-win32-x64>
Node.js Version: v20.18.3
VSCode Version: 1.99.3
Running command: get-date
Waiting for shell integration...
Shell integration changed for terminal shell-integration-problems
Shell integration changed for terminal shell-integration-problems
Shell integration available
Shell execution started in terminal shell-integration-problems
Read chunk: '\x1B]633;C\x07\x1B[93mget-date\x1B[m\x1B[K\r\n\x1B[?25h\x1B[25l'
Shell execution ended in terminal shell-integration-problems with exit code 0 for command "get-date"
Running command: get-date
Waiting for shell integration...
Shell integration available
Shell execution started in terminal shell-integration-problems
Read chunk: '\x1B]633;C\x07'
Shell execution ended in terminal shell-integration-problems with exit code 0 for command "get-date"
……
But when i send enter to terminal, and input in Command Palette get-date again
Terminal in the new window:
PS C:\Users\admin> get-date
2025年4月24日 15:44:01
PS C:\Users\admin>
PS C:\Users\admin> get-date
2025年4月24日 15:44:14
PS C:\Users\admin>
Debug console in the primary window
OS: Windows_NT win32 x64 10.0.19045
Shell: C:\WINDOWS\system32\cmd.exe
Shell Version: Microsoft Windows [�汾 10.0.19045.5737]
(c) Microsoft Corporation����������Ȩ����
D:\Green\VSCode-win32-x64>
Node.js Version: v20.18.3
VSCode Version: 1.99.3
Running command: get-date
Waiting for shell integration...
Shell integration changed for terminal shell-integration-problems
Shell integration changed for terminal shell-integration-problems
Shell integration available
Shell execution started in terminal shell-integration-problems
Read chunk: '\x1B]633;C\x07\x1B[m\x1B[HPS C:\\Users\\admin> \x1B[93mget-date\x1B[m\x1B[K\r\n\x1B[K\x1B[?25h\x1B[25l'
Shell execution ended in terminal shell-integration-problems with exit code 0 for command "get-date"
Shell execution started in terminal shell-integration-problems
Shell execution ended in terminal shell-integration-problems with exit code undefined for command ""
Running command: get-date
Waiting for shell integration...
Shell integration available
Shell execution started in terminal shell-integration-problems
Read chunk: '\x1B]633;C\x07\x1B]633;D;0\x07\x1B]633;A\x07\x1B]633;P;Cwd=C:\\x5cUsers\\x5cadmin\x07\x1B]633;B\x07\rPS C:\\Users\\admin> \x1B[93mget-date\x1B[m\x1B[K\r\n' +
'\x1B[K\r\n' +
'2025年4月24日 15:44:14\x1B[K\r\n' +
'\x1B[K\r\n' +
'PS C:\\Users\\admin>\x1B[K\x1B[1C\x1B[?25h'
Debug Console Logs
OS: Windows_NT win32 x64 10.0.19045
Shell: C:\WINDOWS\system32\cmd.exe
Shell Version: Microsoft Windows [�汾 10.0.19045.5737]
(c) Microsoft Corporation����������Ȩ����
D:\Green\VSCode-win32-x64>
Node.js Version: v20.18.3
VSCode Version: 1.99.3
Running command: get-date
Waiting for shell integration...
Shell integration changed for terminal shell-integration-problems
Shell integration changed for terminal shell-integration-problems
Shell integration available
Shell execution started in terminal shell-integration-problems
Read chunk: '\x1B]633;C\x07\x1B[m\x1B[HPS C:\\Users\\admin> \x1B[93mget-date\x1B[m\x1B[K\r\n\x1B[K\x1B[?25h\x1B[25l'
Shell execution ended in terminal shell-integration-problems with exit code 0 for command "get-date"
Shell execution started in terminal shell-integration-problems
Shell execution ended in terminal shell-integration-problems with exit code undefined for command ""
Running command: get-date
Waiting for shell integration...
Shell integration available
Shell execution started in terminal shell-integration-problems
Read chunk: '\x1B]633;C\x07\x1B]633;D;0\x07\x1B]633;A\x07\x1B]633;P;Cwd=C:\\x5cUsers\\x5cadmin\x07\x1B]633;B\x07\rPS C:\\Users\\admin> \x1B[93mget-date\x1B[m\x1B[K\r\n' +
'\x1B[K\r\n' +
'2025年4月24日 15:44:14\x1B[K\r\n' +
'\x1B[K\r\n' +
'PS C:\\Users\\admin>\x1B[K\x1B[1C\x1B[?25h'aschenoni
Metadata
Metadata
Assignees
Labels
No labels