# std.Progress: Terminate progress escape codes with \`ST\` not \`BEL\` · gitcafe/zig

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

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

Visibility: public

Requested revision: b6e1a100b802188e07fc994d28ea122a6c976169

Requested commit: b6e1a100b802188e07fc994d28ea122a6c976169

Commit: b6e1a100b802188e07fc994d28ea122a6c976169

Tree: bc58da38ab39c7efdf74f75e457c88f8fe16901b

Author: Jay Petacat

Committer: Alex Rønne Petersen

## Message

```
std.Progress: Terminate progress escape codes with `ST` not `BEL`

`ST` is the "string terminator" and what is actually prescribed in the
standard for escape codes. Use of `BEL` as a terminator is apparently a
historical oddity that persists for compatibility. Unfortunately, not
all terminals support using `BEL`, including Ubuntu's new default
terminal, Ptyxis. Using `ST` should make it work in more terminals.

Further reading:

- https://en.wikipedia.org/wiki/ANSI_escape_code#Operating_System_Command_sequences
- https://ecma-international.org/wp-content/uploads/ECMA-48_5th_edition_june_1991.pdf

```

## Parents

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

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