Codebase list golang-github-moby-term / 31dc181
Import upstream version 0.0~git20201216.df9cb8a Debian Janitor 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2828
2929 // IsConsole returns true if the given file descriptor is a Windows Console.
3030 // The code assumes that GetConsoleMode will return an error for file descriptors that are not a console.
31 // Deprecated: use golang.org/x/sys/windows.GetConsoleMode() or golang.org/x/crypto/ssh/terminal.IsTerminal()
31 // Deprecated: use golang.org/x/sys/windows.GetConsoleMode() or golang.org/x/term.IsTerminal()
3232 var IsConsole = isConsole
3333
3434 func isConsole(fd uintptr) bool {