Skip to content
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

Writing to alternate screen doesn't work on Windows Enterprise #128

Open
dr4ds opened this issue Apr 19, 2019 · 8 comments

Comments

Projects
None yet
3 participants
@dr4ds
Copy link

commented Apr 19, 2019

Example: https://github.com/TimonPost/crossterm/blob/master/examples/alternate_screen.rs doesn't write to alternate screen but to main screen.

@TimonPost

This comment has been minimized.

Copy link
Owner

commented Apr 19, 2019

I can't reproduce this on Windows or Linux, which operating system are you on?

@dr4ds

This comment has been minimized.

Copy link
Author

commented Apr 19, 2019

win 10 ltsb, with cmd terminal

@TimonPost

This comment has been minimized.

Copy link
Owner

commented Apr 19, 2019

I am still not seeing any problems, which version are you using and which command do you run to test the example?

@dr4ds

This comment has been minimized.

Copy link
Author

commented Apr 19, 2019

I check it on win 10 pro and it works i guess it only doesn't work on enterprise edition of windows.

@TimonPost

This comment has been minimized.

Copy link
Owner

commented Apr 19, 2019

That's so strange, I'm wondering what the reason could be.

@longwusha

This comment has been minimized.

Copy link

commented Apr 30, 2019

I am using enterprise edition of windows and I will give it a try.

@longwusha

This comment has been minimized.

Copy link

commented May 2, 2019

I got the same result. Both cmd and powershell do not work correctly.

@longwusha

This comment has been minimized.

Copy link

commented May 2, 2019

Nothing is printed on the screen during the loop printing process. When the cycle is over (after 5 seconds), the final result is printed.

@TimonPost TimonPost changed the title Writing to alternate screen doesn't work on windows Writing to alternate screen doesn't work on Windows Enterprise May 10, 2019

@TimonPost TimonPost added the bug label May 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.