a8m / a8m/pb

MultiBar does not honour custom handle on Windows

Aperta
#88 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
600
Fork
59
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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 ?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.