package windows
import "github.com/dotcloud/docker/pkg/term/windows"
Index ¶
- func ConEmuStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer)
- func ConsoleStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer)
- func GetHandleInfo(in interface{}) (uintptr, bool)
- func IsConsole(fd uintptr) bool
Functions ¶
func ConEmuStreams ¶
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.
func IsConsole ¶
IsConsole returns true if the given file descriptor is a Windows Console. The code assumes that GetConsoleMode will return an error for file descriptors that are not a console.
Source Files ¶
ansi_reader.go ansi_writer.go console.go windows.go
- Version
- v1.10.1-rc1
- Published
- Feb 10, 2016
- Platform
- windows/amd64
- Imports
- 12 packages
- Last checked
- 1 hour ago –
Tools for package owners.