windowsconsole

package
v20.10.0-rc1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

Package windowsconsole implements ANSI-aware input and output streams for use by the Docker Windows client. When asked for the set of standard streams (e.g., stdin, stdout, stderr), the code will create and return pseudo-streams that convert ANSI sequences to / from Windows Console API calls.

Deprecated: use github.com/moby/term/windows instead

Index

Constants

This section is empty.

Variables

View Source
var (
	// GetHandleInfo returns file descriptor and bool indicating whether the file is a console.
	// Deprecated: use github.com/moby/term/windows.GetHandleInfo
	GetHandleInfo = windowsconsole.GetHandleInfo

	// 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.
	// Deprecated: use github.com/moby/term/windows.IsConsole
	IsConsole = windowsconsole.IsConsole

	// NewAnsiReader returns an io.ReadCloser that provides VT100 terminal emulation on top of a
	// Windows console input handle.
	// Deprecated: use github.com/moby/term/windows.NewAnsiReader
	NewAnsiReader = windowsconsole.NewAnsiReader

	// NewAnsiWriter returns an io.Writer that provides VT100 terminal emulation on top of a
	// Windows console output handle.
	// Deprecated: use github.com/moby/term/windows.NewAnsiWriter
	NewAnsiWriter = windowsconsole.NewAnsiWriter
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL