-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLS command does not work in VSCode terminal #190819
Comments
I think #176709 and the Stack Overflow post it links to may be relevant to you. |
Of course microsoft/terminal#15065 is as much of a misdirection as xtermjs/xterm.js#1727 There is no need to ship a whole massive library and overhaul some OS subsystem to have a local workaround here. There's a trivial ReadConsoleOutput Win32 API easy to re-sync. How it takes half-decade and dozens of bug reports brushed under the carpet? |
@mihailik VS Code uses the new pseudoconsole APIs that emulate ptys on unix, not the old Windows console APIs (which
For microsoft/terminal#15065 I don't think we're tracking it in this repo but will be a priority for us as soon as it happens. I think you are actually asking for is for the behavior change requested in xtermjs/xterm.js#1727 (which has been labeled with help wanted for 5 years and an easy solution was suggested 2 years ago). When using new conpty (Windows 11 insider build 22621) here's what happens with I don't have Windows 10.0.19045 available, could you record a gif to make sure we're on the same page? |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
I think it used to be worse, the CLS didn't clear terminal even at the start. Now it only fails when the existing content overflows.
Quite surprised this bug is missed like that.
If it is a bug in another component, like conpty or Windows itself -- please provide enough info to raise the issue to the corresponding team inside Microsoft. Every piece of code involved here is owned by the company, so leaving it open for so many years is frankly very silly.
The text was updated successfully, but these errors were encountered: