a8m / a8m/pb

MultiBar does not honour custom handle on Windows

未關閉
#88 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
600
分支
59
PR 合併指標
30 天內沒有已合併 PR

描述

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 ?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。