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
Windows terminal session names don't change when launching a shell from the initial shell #30152
feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitieson-testplanterminalGeneral terminal issues that don't fall under another labelwindowsVS Code on Windows issues
The eventual solution here will probably involve a combination of caching, polling and throttling calls to wmic, utilizing knowledge we can pull from the terminal like whether any output has happened (ie. there's no point checking if nothing has changed). Even though they're short-lived processes, we need to be very careful about not doing this too much.
Amy Qiu (@Lixire) I guess the next steps on this one are to make another call to wmic ~100ms after onData fires, but reset the timer if onData is fired again. We're after this behavior:
when onData fires
if the timer is an active timer
reset it to 100ms
else
create a timer for 100ms, when it goes off get the shell name as we are on enter
After this is done we will cover all major cases I believe. We'll be checking on enter, just after a program is launched, and also when output stops streaming in, for example when a process ends and the regular prompt is displayed.
feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitieson-testplanterminalGeneral terminal issues that don't fall under another labelwindowsVS Code on Windows issues
Activity
Tyriar commentedon Jul 7, 2017
The eventual solution here will probably involve a combination of caching, polling and throttling calls to wmic, utilizing knowledge we can pull from the terminal like whether any output has happened (ie. there's no point checking if nothing has changed). Even though they're short-lived processes, we need to be very careful about not doing this too much.
Tyriar commentedon Jul 12, 2017
I think for the case of executables we should trim the .exe. We don't gain much by saying "powershell.exe" over "powershell".
Tyriar commentedon Jul 20, 2017
Amy Qiu (@Lixire) I guess the next steps on this one are to make another call to wmic ~100ms after
onDatafires, but reset the timer if onData is fired again. We're after this behavior:After this is done we will cover all major cases I believe. We'll be checking on enter, just after a program is launched, and also when output stops streaming in, for example when a process ends and the regular prompt is displayed.
Uplevel xterm.js