# Fix Progress printing on Windows systems · gitcafe/zig

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

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

Visibility: public

Requested revision: 3010bfb08af0b47d801d492e4f2e21a988e8399a

Requested commit: 3010bfb08af0b47d801d492e4f2e21a988e8399a

Commit: 3010bfb08af0b47d801d492e4f2e21a988e8399a

Tree: 9150f4b43d0404b645b36748be7612ddd11a7df8

Author: LemonBoy

Committer: LemonBoy

## Message

```
Fix Progress printing on Windows systems

The cursor must be restored after the line is printed, not before.
Take into account the visible viewport to correctly compute the terminal
size.

```

## Parents

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

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