-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
"clear" does not clear the terminal #16524
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Closed similar issues:
|
Hmm. I can't seem to repro this. Do you have any more detailed repro steps? How are you launching the Terminal? What shell are you using (PowerShell? CMD? Bash/zsh/fish/etc)? Do you have anything in your shell settings/profile that might be at play here? Something that attempts to resize the window perhaps? |
This problem only occurs when the mentioned output only fills the screen partly, e.g. by just typing "cd" -- which typically only produces one or two lines of output; if I do a "dir" instead which fills the whole terminal window, "clear" always works...
btw: this is for normal CMD shell.
|
see attached screen-recording (archive contains .mp4 video recorded by OBS): |
huh. Where did you get |
What is
|
C:\Users\xxxx>where clear excellent find - and "cls" works better -- thank you :) |
Yep, that makes sense. Thanks for following up! |
to my defense :-) |
Windows Terminal version
1.19.3172.0
Windows build number
10.0.19045-3803
Other Software
No response
Steps to reproduce
Expected Behavior
"clear" to always clear the previous output...
Actual Behavior
cursor will be positioned at the top of the inner window, but the previous output still is visible below
(this does not happen all the time, but mostly)
The text was updated successfully, but these errors were encountered: