change std.debug.TTY to std.io.tty
Zig commit: 0f6fa3f20b3b28958921bd63a9a9d96468455e9c
std: Move std.debug.{TTY.Config,detectTTYConfig} to std.io.tty
Also get rid of the TTY wrapper struct, which was exlusively used as a
namespace - this is done by the tty.zig root struct now.
detectTTYConfig has been renamed to just detectConfig, which is enough
given the new namespace. Additionally, a doc comment had been added.
This commit is contained in:
parent
93ad6f8ac7
commit
25513a186a
2 changed files with 4 additions and 3 deletions
|
|
@ -554,7 +554,7 @@ const ZiglingStep = struct {
|
|||
|
||||
// Print the compiler errors.
|
||||
// TODO: use the same ttyconf from the builder.
|
||||
const ttyconf: std.debug.TTY.Config = if (use_color_escapes)
|
||||
const ttyconf: std.io.tty.Config = if (use_color_escapes)
|
||||
.escape_codes
|
||||
else
|
||||
.no_color;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue