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

Current progress in terminal window name #62

Closed
Bfgeshka opened this issue Jan 6, 2018 · 4 comments
Closed

Current progress in terminal window name #62

Bfgeshka opened this issue Jan 6, 2018 · 4 comments

Comments

@Bfgeshka
Copy link

Bfgeshka commented Jan 6, 2018

Often current album contains dozens of images, so, if trying to load a bunch of albums, you have no idea which one is downloading now.

There is an example In applied screenshot, this is how my system package manager handles multiple packages installation. Can we have something like this?

2018-01-06-223046_353x34_scrot

@mikf
Copy link
Owner

mikf commented Jan 6, 2018

Could you clarify this a bit more? What you are describing sounds a lot like #19 to me, but that is probably not the case, since this was also opened by you.

@Bfgeshka
Copy link
Author

Bfgeshka commented Jan 7, 2018

My proposition here is not just about progress indication, but about doubling it in terminal title specifically.

@mikf
Copy link
Owner

mikf commented Jan 7, 2018

Set output.progress to something along the lines of
"\u001B]0;<output in terminal title>\u0007<output in terminal itself>"

for example: "\u001B]0;[{current}\/{total}] {url}\u0007[{current}\/{total}] {url}"

@Bfgeshka
Copy link
Author

Bfgeshka commented Jan 7, 2018

That actually works like a charm, didn't notice that you can set custom output string before.

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

No branches or pull requests

2 participants