Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mattn/go-isatty
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.23
Choose a base ref
...
head repository: mattn/go-isatty
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.0.24
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jul 23, 2026

  1. Use TIOCGWINSZ instead of TCGETS to detect terminals (#97)

    TCGETS shares its ioctl number with SNDCTL_TMR_TIMEBASE of the OSS
    sound API, so it may succeed (and even change the device mode) on
    certain non-tty devices. TIOCGWINSZ has no such conflict and succeeds
    on any tty. musl's isatty does the same.
    
    Fixes #76
    mattn authored Jul 23, 2026
    Configuration menu
    Copy the full SHA
    c44dc0b View commit details
    Browse the repository at this point in the history
Loading