diff --git a/term.go b/term.go index 1f6a38f..d592708 100644 --- a/term.go +++ b/term.go @@ -12,6 +12,8 @@ // panic(err) // } // defer term.Restore(int(os.Stdin.Fd()), oldState) +// +// Note that on non-Unix systems os.Stdin.Fd() may not be 0. package term // State contains the state of a terminal.