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

Progress bars give many lines of output in Gnome Terminal #97

Closed
matthewpwilson opened this issue Apr 25, 2019 · 6 comments
Closed

Progress bars give many lines of output in Gnome Terminal #97

matthewpwilson opened this issue Apr 25, 2019 · 6 comments
Labels
dependency Relies on a change not in this repo

Comments

@matthewpwilson
Copy link
Member

I've just noticed that when using Gnome Terminal (the default terminal on RHEL), progress bars give me a new line of output for each 'tick' rather than redrawing the screen: When using the embedded terminal in VSCode, progress bars work as expected.

I'm seeing this for both deploiy and push
It occurs while watching 'live' as well as when scrolling back through the output.
image

I think this is unlikely to be our problem however!

@markcocker
Copy link
Member

markcocker commented Apr 25, 2019

For me on a Mac I have found this depends on the window width - if the widow is narrower than text on the progress bar message line you'll see this issue, however if the window is wider it works.

@matthewpwilson
Copy link
Member Author

Ah yes I see the same behaviour.

@markcocker markcocker added the dependency Relies on a change not in this repo label Apr 25, 2019
@markcocker
Copy link
Member

@matthewpwilson Shall I raise an issue against the Zowe CLI, or does this progress bar come from another project?

@matthewpwilson
Copy link
Member Author

The progress bar stuff is part of imperative https://github.com/zowe/imperative/

@markcocker
Copy link
Member

It looks like this could be a dupe of visionmedia/node-progress#184

@pcoop
Copy link
Collaborator

pcoop commented Apr 25, 2019

I can truncate the status message that gets added to the bar if we know what a reasonable maximum width is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Relies on a change not in this repo
Projects
None yet
Development

No branches or pull requests

3 participants