# std: fix Progress flickering · gitcafe/zig

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

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

Visibility: public

Requested revision: f862762f091637ad0d17c4735226c0c477c2cb3e

Requested commit: f862762f091637ad0d17c4735226c0c477c2cb3e

Commit: f862762f091637ad0d17c4735226c0c477c2cb3e

Tree: 48264a8d8bf0e5e461182edd84f7b08239845858

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std: fix Progress flickering

move some of the clearing logic from std.Io.Threaded to the Io interface
layer, thus allowing it to be skipped by advanced usage code via calling
the vtable functions directly.

then take advantage of this in std.Progress to avoid clearing the
terminal twice.

closes #30611

```

## Parents

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

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