-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
react-dev-utils/clearConsole doesn't clear the console on windows #1914
Comments
Does the console clear but retain it's history? This is the intended behavior iirc. |
It would help to see the screenshots. |
How exactly are you launching the terminal? Imagine I have a clean Windows 10 installation. What do I need to do to reproduce this? |
When you install GitBash, 2 new options are available in the right click menu. Right click in the explorer and |
Oh, I see. I'm not sure we can support the more exotic environments. We went through quite a few attempts to make it look right on OS X, Linux, and popular Windows environments (Cmd and PowerShell). Sorry 😞 |
It is probably a node problem to. Just tested with different versions of node and using Node v.7.5.0 and up and was getting the same result(console not cleaning) in Cmd, PowerShell and GitBash. |
Interesting. If you can get it consistently reproducing with Cmd on Windows 10, we'll need to take a look. |
facebook#1914 I've tested it with Windows 10 and 7, node versions from ~5.0.0 up to 7.7.0. Didn't managed to test it on 8 but it should be fine.
* Update the string that clears the console. #1914 I've tested it with Windows 10 and 7, node versions from ~5.0.0 up to 7.7.0. Didn't managed to test it on 8 but it should be fine. * Update windows string Add windows specific string for clearing the console.
* Update the string that clears the console. facebook#1914 I've tested it with Windows 10 and 7, node versions from ~5.0.0 up to 7.7.0. Didn't managed to test it on 8 but it should be fine. * Update windows string Add windows specific string for clearing the console.
Description
On windows the console is not cleared with
\x1Bc
char, it works though with\x1B[2J\x1B[3J\x1B[H
but as I'm on windows it will never get to that.Is there a compatibility issue that requires the
win32
check?What are you reporting?
Bug?
Expected behavior
Console should be cleared
Actual behavior
Console get's full with compilation logs
Environment
The text was updated successfully, but these errors were encountered: