Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConEmuStreams ¶ added in v1.10.0
func ConEmuStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer)
ConEmuStreams returns prepared versions of console streams, for proper use in ConEmu terminal. The ConEmu terminal emulates ANSI on output streams well by default.
func ConsoleStreams ¶
func ConsoleStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer)
ConsoleStreams returns a wrapped version for each standard stream referencing a console, that handles ANSI character sequences.
func GetHandleInfo ¶
GetHandleInfo returns file descriptor and bool indicating whether the file is a console.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.