Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mattn/go-isatty
/ functions
Functions
19 in github.com/mattn/go-isatty
⨍
Functions
19
◇
Types & classes
0
↓ 2 callers
Function
isCygwinPipeName
Check pipe name is used for cygwin/msys2 pty. Cygwin/MSYS2 PTY has a name like: \{cygwin,msys}-XXXXXXXXXXXXXXXX-ptyN-{from,to}-master
isatty_windows.go:46
↓ 1 callers
Function
IsCygwinTerminal
IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 terminal. This is also always false on this environment.
isatty_bsd.go:17
↓ 1 callers
Function
IsTerminal
IsTerminal return true if the file descriptor is terminal.
isatty_bsd.go:10
↓ 1 callers
Function
getFileNameByHandle
getFileNameByHandle use the undocomented ntdll NtQueryObject to get file full name from file handler since GetFileInformationByHandleEx is not availab
isatty_windows.go:83
Function
Example
()
example_test.go:10
Function
IsCygwinTerminal
IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 terminal. This is also always false on this environment.
isatty_solaris.go:19
Function
IsCygwinTerminal
IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 terminal. This is also always false on this environment.
isatty_tcgets.go:17
Function
IsCygwinTerminal
IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2 terminal.
isatty_windows.go:100
Function
IsCygwinTerminal
IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2 terminal. This is also always false on this environment.
isatty_others.go:14
Function
IsCygwinTerminal
IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 terminal. This is also always false on this environment.
isatty_plan9.go:21
Function
IsTerminal
IsTerminal returns true if the given file descriptor is a terminal. see: https://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libc/port/gen/is
isatty_solaris.go:12
Function
IsTerminal
IsTerminal return true if the file descriptor is terminal.
isatty_tcgets.go:10
Function
IsTerminal
IsTerminal return true if the file descriptor is terminal.
isatty_windows.go:37
Function
IsTerminal
IsTerminal returns true if the file descriptor is terminal which is always false on js and appengine classic which is a sandboxed PaaS.
isatty_others.go:8
Function
IsTerminal
IsTerminal returns true if the given file descriptor is a terminal.
isatty_plan9.go:11
Function
TestCygwinPipeName
(t *testing.T)
isatty_others_test.go:16
Function
TestCygwinPipeName
(t *testing.T)
isatty_windows_test.go:10
Function
TestTerminal
(t *testing.T)
isatty_others_test.go:11
Function
init
()
isatty_windows.go:29