# start reworking std.Progress · gitcafe/zig

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

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

Visibility: public

Requested revision: d6e8ba3f97b778676bdb3c79b37afc8003b883ea

Requested commit: d6e8ba3f97b778676bdb3c79b37afc8003b883ea

Commit: d6e8ba3f97b778676bdb3c79b37afc8003b883ea

Tree: b71996f10a7e4e708e7479ebd4c3cef739d37c53

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
start reworking std.Progress

New design ideas:
* One global instance, don't try to play nicely with other instances
  except via IPC.
* One process owns the terminal and the other processes communicate via
  IPC.
* Clear the whole terminal and use multiple lines.

What's implemented so far:
* Query the terminal for size.
* Register a SIGWINCH handler.
* Use a thread for redraws.

To be done:
* IPC
* Handling single threaded targets
* Porting to Windows
* More intelligent display of the progress tree rather than only using
  one line.

```

## Parents

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

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