diff options
| author | Jay Petacat <jay@jayschwa.net> | 2025-11-25 23:25:27 -0700 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-11-26 14:16:08 +0100 |
| commit | b6e1a100b802188e07fc994d28ea122a6c976169 (patch) | |
| tree | bc58da38ab39c7efdf74f75e457c88f8fe16901b /src/codegen | |
| parent | 0b5b35c6964ea91133c82adbbd8ab3cf81388b26 (diff) | |
| download | zig-b6e1a100b802188e07fc994d28ea122a6c976169.tar.gz zig-b6e1a100b802188e07fc994d28ea122a6c976169.zip | |
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
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
