# stage2: make \-\-color on affect progress bar too · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/a31ff072d18a170d427d97a1e7fa1a5afe3b27bf)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: a31ff072d18a170d427d97a1e7fa1a5afe3b27bf

Requested commit: a31ff072d18a170d427d97a1e7fa1a5afe3b27bf

Commit: a31ff072d18a170d427d97a1e7fa1a5afe3b27bf

Tree: 6b4f56393bdc77370d59d608a8ae504a16a509c8

Author: Andrew Kelley

Committer: Veikka Tuominen

## Message

```
stage2: make --color on affect progress bar too

Before, --color on would affect colored compile error printing but not
affect terminal progress bar printing. It was intended for this option
to affect both; now it does.

This causes a failure when building the language reference, which
contains code for parsing terminal output and rendering HTML. Now it
must be expanded to handle 'K' and 'D' codes to simulate a terminal
cursor moving, and the CI will fail until that capability is added in a
later commit of this branch.

I extracted this change from #13560 so that the idea is not lost but we
can solve this issue separately.

```

## Parents

- [5bd69c655d9e04102c8a64ced1215c9d69f4f03f](https://git.cafe/gitcafe/zig/commit/5bd69c655d9e04102c8a64ced1215c9d69f4f03f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/a31ff072d18a170d427d97a1e7fa1a5afe3b27bf?format=markdown)
