Skip to content

Conversation

@mrnugget
Copy link
Contributor

This change in a previous PR broke the display of the progress bar:

https://github.com/sourcegraph/src-cli/pull/236/files#diff-f88fc84c78d26d5dc5fde4a5223bc866L258

Why did it break? Because the "display progress bar?"-check checked whether the just-printed data ended in a newline or not. That worked until the just mentioned change, after which every line was wrapped in "set color" and "reset color" escape codes. They wouldn't end in \n but in \n\x1b[0m.

The new check fixes the progress bar.

The other two commits fix a typo and remove an unused dependency.

@mrnugget mrnugget requested review from eseliger and ryanslade July 13, 2020 09:54
@mrnugget mrnugget merged commit c8eca18 into master Jul 13, 2020
scjohns pushed a commit that referenced this pull request Apr 24, 2023
* Remove unused dependency in ActionLogger

* Fix typo

* Show progress bar even when printed text has color
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

Successfully merging this pull request may close these issues.

4 participants