# Progress: Emit \\r\\n on Windows, include new line bytes in line_upper_bound_len · gitcafe/zig

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

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

Visibility: public

Requested revision: 2cf8e73781b81f38c50a40b42cad49242ef7c98b

Requested commit: 2cf8e73781b81f38c50a40b42cad49242ef7c98b

Commit: 2cf8e73781b81f38c50a40b42cad49242ef7c98b

Tree: af8a1ad570f771d7f7ae9723eeac28d9540f5c71

Author: Ryan Liptak

Committer: Andrew Kelley

## Message

```
Progress: Emit \r\n on Windows, include new line bytes in line_upper_bound_len

The \r\n is necessary to get the progress tree to work properly in the old console when ENABLE_VIRTUAL_TERMINAL_PROCESSING and DISABLE_NEWLINE_AUTO_RETURN are set.

The line_upper_bound_len fix addresses part of #20161

```

## Parents

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

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