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

实时进度条 #52

Open
AzlmZ-del opened this issue Jun 9, 2020 · 3 comments
Open

实时进度条 #52

AzlmZ-del opened this issue Jun 9, 2020 · 3 comments

Comments

@AzlmZ-del
Copy link

想问一下作者,能不能把上传和下载的进度条改为实时显示,不用jobs命令就可以看到?

@rachpt
Copy link

rachpt commented Jun 10, 2020

我在隔壁(基于本项目代码) https://github.com/Aruelius/cloud189 实现了 jobs -f (也就是加一个参数) 实时显示状态并能控制退出显示,
大概就是这个样子,
Snipaste_2020-06-05_03-24-36
应该可以很容易加上来
😆

@zaxtyson
Copy link
Owner

期末了快死了,先鸽它一段时间(>人<;)

@zaxtyson
Copy link
Owner

zaxtyson commented Jul 10, 2020

CMD 界面下面想做一个独立的进度条显示区域好像不太行,@rachpt 这个方案可以显示进度但是会影响交互。楼主应该是想要一个不影响用户交互的独立进度条显示区域,CMD还真不好做,这玩意应该GUI去实现。
用 '\r' 不停的刷新当前行要么就阻塞用户交互,只能看进度,要么就会输出一堆进度信息干扰用户正常操作(;´д`)

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

3 participants