Yarn: Progress bars render poorly in iTerm2

Created on 11 Oct 2016  路  7Comments  路  Source: yarnpkg/yarn

Do you want to request a _feature_ or report a _bug_?
This appears to be a bug.

What is the current behavior?
When running yarn for an install, the progress bar doesn't cleanly delete itself, instead, it spams the terminal, slowing down the install process.

screen shot 2016-10-11 at 1 46 06 pm

If the current behavior is a bug, please provide the steps to reproduce.
I've reproduced this on multiple projects, consistently. It seems to just be a compatibility issue with iTerm2. I'm using iTerm2 3.0.5, on OS X 10.11.6.

What is the expected behavior?
OS X's built-in Terminal app behaves as expected, with the progress bars only using one line while visible, and then disappearing after completion.

Please mention your node.js, yarn and operating system version.
Node.js v6.0.3
Yarn v0.15.1
OS X 10.11.6

cat-feature

Most helpful comment

Disable ambiguous-wide characters in preferences->profiles->text.

All 7 comments

Worked fine for me using iTerm2 3.0.10.

@Noirbot Could you try a newer build of iTerm2 v3? Also unable to reproduce this.

I just updated to 3.0.10 and can still reproduce. Maybe it's something about using ZSH with iTerm2? Is there some setting I'm missing?

Not seeing it on zsh either. Could be a setting somewhere. Make sure your term type is xterm-256color in preferences->profiles->terminal.

I'm using "oh my zsh", and don't see the issue.

Changing terminal type didn't fix it, so I purged my entire iTerm settings and it's working now. Not sure what's going on or what was messing it up, but it's not a problem with stock iTerm, so it's not a Yarn bug.

I'll close.

Disable ambiguous-wide characters in preferences->profiles->text.

Was this page helpful?
0 / 5 - 0 ratings