Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change std.debug.TTY to std.io.tty #309

Merged
merged 1 commit into from
May 25, 2023
Merged

Conversation

pseudocc
Copy link
Contributor

The std.debug.TTY has been moved to std.io.tty in commit

So the latest dev build won't compile.

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.
Copy link
Contributor

@perillo perillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it is necessary to show the entire commit message from ziglang/zig@0f6fa3f.
Instead you can use use a cross reference link: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls

@chrboesch chrboesch merged commit b817bf3 into ratfactor:main May 25, 2023
11 checks passed
@chrboesch
Copy link
Collaborator

Thanks a lot!

vamega pushed a commit to vamega/ziglings that referenced this pull request Jul 25, 2023
change std.debug.TTY to std.io.tty
fleimgruber pushed a commit to fleimgruber/ziglings that referenced this pull request Oct 26, 2023
change std.debug.TTY to std.io.tty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants