Skip to content

Fix and simplify platform detection#5600

Open
kasperk81 wants to merge 3 commits into
tui-cs:developfrom
kasperk81:fix-platform
Open

Fix and simplify platform detection#5600
kasperk81 wants to merge 3 commits into
tui-cs:developfrom
kasperk81:fix-platform

Conversation

@kasperk81

@kasperk81 kasperk81 commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Other than Linux, all Unix OS use 0x40087468u.

Other than macOS, all arm64 Unix OS use regular ioctl.

Use OperatingSystem.IsLinux/Windows/MacOS() and remove wrappers.

@kasperk81
kasperk81 requested a review from tig as a code owner July 25, 2026 16:17
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.

1 participant