# std.Progress: keep cursor on newline · gitcafe/zig

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

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

Visibility: public

Requested revision: 52ffdec74b5854bc842107f40f9fa31b40cf5432

Requested commit: 52ffdec74b5854bc842107f40f9fa31b40cf5432

Commit: 52ffdec74b5854bc842107f40f9fa31b40cf5432

Tree: 8fc13b63abe57cfe30e4e4286deb503b9ab0654b

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Progress: keep cursor on newline

Don't truncate trailing newline. This better handles stray writes to
stderr that are not std.Progress-aware, such as from non-zig child
processes.

This commit also makes `Node.start` and `Node.end` bail out early with a
comptime branch when it is known the target will not be spawning an
update thread.

```

## Parents

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

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