You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Terminal not in a good state initially on Windows Insider builds #57803
importantIssue identified as high-priorityterminalGeneral terminal issues that don't fall under another labelupstreamIssue identified as 'upstream' component related (exists outside of VS Code)windowsVS Code on Windows issues
Daniel Imms (@Tyriar), got the same issue. Same OS background. Using RS5 Insider Builds
The whole terminal experience in VSCode on Windows Insiders is pretty rough right now. Output Buffers overwriting and regular terminal inputs like CTRL+Backspace printing command characters... issues like that have been increasingly visible to me since RS5.
Specs for reference:
VS Code version: Code - Insiders 1.28.0-insider (a3f9f2e, 2018-09-07T05:20:29.346Z)
OS version: Windows_NT x64 10.0.17755
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 x 4008)
Yikes, that's certainly pretty bad. No idea why that might be, and we're too close to the final signoff on this Windows version to be able to fix that for this release :(
Presumably this'll go away when node-pty picks up conpty, so for RS4 and below they'll still work fine, and RS5+ will get fixed by conpty. There'll just be this awkward middle phase where RS5 is broken.
I still don't know why this might be happening in the first place - maybe Ryan Prichard (@rprichard) might know more?
changed the title [-]Terminal in Vscode in windows insider builds[/-][+]Terminal not in a good state initially on Windows Insider builds[/+]on Sep 12, 2018
For people experiencing this issue, the way I work around it in the meantime is to just press enter which shows the prompt. You can also just type a command and it will run fine, it's just that the initial prompt doesn't display correctly.
Guys, this may not be related to VS at all. I'm also a user of Android Studio and when I open the terminal tab in the lower panel I get the same issue.
edit:
ALSO, I think my preferences for CMD and PowerShell are a bit messed up
Before I get 100 more pings on this thread: as stated in microsoft/terminal#270, the issue is a bug in the console codebase. It's already fixed internally, and bubbling it's way out to Insiders. Should be fixed in 3-4 weeks.
ConPTY support has landed in VS Code, this uses a new backend for the terminal on Windows 10 build number 18309+, this should fix many bugs in the terminal on Windows as we're adopting Microsoft's official pty API. For earlier versions winpty will still be used a many bugs will still remain (unless they're fixed in that project).
importantIssue identified as high-priorityterminalGeneral terminal issues that don't fall under another labelupstreamIssue identified as 'upstream' component related (exists outside of VS Code)windowsVS Code on Windows issues
Activity
Tyriar commentedon Sep 4, 2018
ricardosantos9521 haven't seen this one before, does it show again when you resize the terminal panel? That will force a redraw.
Could you also try changing the value of
terminal.integrated.rendererTypeto see if it shows up then?ricardosantos9521 commentedon Sep 4, 2018
Daniel Imms (@Tyriar) Nop the problem still ocurres.
PS: This only happens in windows insider builds (redstone 5).
https://imgur.com/a/grzLARr
GordonSmith commentedon Sep 6, 2018
Just a "me too" here. This is what I see:
MeikTranel commentedon Sep 8, 2018
Daniel Imms (@Tyriar), got the same issue. Same OS background. Using RS5 Insider Builds
The whole terminal experience in VSCode on Windows Insiders is pretty rough right now. Output Buffers overwriting and regular terminal inputs like CTRL+Backspace printing command characters... issues like that have been increasingly visible to me since RS5.
Specs for reference:
VS Code version: Code - Insiders 1.28.0-insider (a3f9f2e, 2018-09-07T05:20:29.346Z)
OS version: Windows_NT x64 10.0.17755
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Extensions (33)
Tyriar commentedon Sep 10, 2018
Rich Turner (@bitcrazed) FYI, not sure if there have been any changes in this area on your side that could be causing this?
bitcrazed commentedon Sep 11, 2018
Not that I know of. Mike Griese (@zadjii-msft) Are you aware of anything that could cause this issue?
zadjii-msft commentedon Sep 11, 2018
Honestly I have no idea. I'm not really sure how winpty gets at the console to get that text.
I'd certainly have a better idea if it were conpty 😝
Tyriar commentedon Sep 12, 2018
Rich Turner (@bitcrazed) Mike Griese (@zadjii-msft) I've also noticed some weirdness on Windows Insiders where the shell is blank at the start, hitting enter will then show the prompt.
Tyriar commentedon Sep 12, 2018
This is what I see:
Resizing panel reveals:
Pressing enter:
zadjii-msft commentedon Sep 12, 2018
Yikes, that's certainly pretty bad. No idea why that might be, and we're too close to the final signoff on this Windows version to be able to fix that for this release :(
Presumably this'll go away when node-pty picks up conpty, so for RS4 and below they'll still work fine, and RS5+ will get fixed by conpty. There'll just be this awkward middle phase where RS5 is broken.
I still don't know why this might be happening in the first place - maybe Ryan Prichard (@rprichard) might know more?
[-]Terminal in Vscode in windows insider builds[/-][+]Terminal not in a good state initially on Windows Insider builds[/+]11 remaining items
Tyriar commentedon Oct 4, 2018
Upstream issue: microsoft/terminal#270
For people experiencing this issue, the way I work around it in the meantime is to just press enter which shows the prompt. You can also just type a command and it will run fine, it's just that the initial prompt doesn't display correctly.
szerner commentedon Oct 9, 2018
I have this issue too on my Windows 10 Pro 1809, Build 17764.1, when opening a new terminal window.
Actually it depends on the size resp. height of the terminal window, whether or how the issue shows up:
After pressing ENTER everything is ok.
Update xterm.js to 3.8.0
aarcoraci commentedon Oct 15, 2018
Guys, this may not be related to VS at all. I'm also a user of Android Studio and when I open the terminal tab in the lower panel I get the same issue.
edit:

ALSO, I think my preferences for CMD and PowerShell are a bit messed up
MeikTranel commentedon Oct 15, 2018
It's related to XTerm.js, winpty and the windows console since 1809. We've got that far already.
zadjii-msft commentedon Oct 15, 2018
Before I get 100 more pings on this thread: as stated in microsoft/terminal#270, the issue is a bug in the console codebase. It's already fixed internally, and bubbling it's way out to Insiders. Should be fixed in 3-4 weeks.
Tyriar commentedon Oct 15, 2018
I'm locking this for now as we know about the problem and it's fixed upstream. It will just take some time to get to us.
Tyriar commentedon Dec 21, 2018
ConPTY support has landed in VS Code, this uses a new backend for the terminal on Windows 10 build number 18309+, this should fix many bugs in the terminal on Windows as we're adopting Microsoft's official pty API. For earlier versions winpty will still be used a many bugs will still remain (unless they're fixed in that project).
If you find any issues with ConPTY please report them to https://github.com/Microsoft/console (the team who own ConPTY) or this repo (if you think it's an integration issue). You can opt out of conpty by adding this setting:
Note that this will hit stable Windows 10 in version 1903, the first release of 2019.