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

MultiBar does not honour custom handle on Windows #88

Open
ririsoft opened this issue Sep 23, 2019 · 1 comment
Open

MultiBar does not honour custom handle on Windows #88

ririsoft opened this issue Sep 23, 2019 · 1 comment

Comments

@ririsoft
Copy link

Hello,

I am using a "/dev/null" like handle when my application is in quiet mode to hide the progress bar.

On unix, tty::move_cursor_up returns a string which is output to the handle.
On windows, tty::move_cursor_up print to the console and return an empty string whatever the handle is, making my trick to have a quiet mode totally failing.

I do not know if the windows code could be fixed easily. Otherwise what about introducing a quiet mode ?

@ririsoft
Copy link
Author

Fixing this issue could help close #82 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant