# std: Move std.debug\.\{TTY.Config,detectTTYConfig\} to std.io.tty · gitcafe/zig

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

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

Visibility: public

Requested revision: 0f6fa3f20b3b28958921bd63a9a9d96468455e9c

Requested commit: 0f6fa3f20b3b28958921bd63a9a9d96468455e9c

Commit: 0f6fa3f20b3b28958921bd63a9a9d96468455e9c

Tree: b725c368b43701903b4fe145eb240bfffbdc79e6

Author: Linus Groh

Committer: Linus Groh

## Message

```
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.

```

## Parents

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

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