consoleoutput

package
v0.0.0-...-31a2298 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2018 License: BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	COMMON_LVB_LEADING_BYTE  = 0x0100
	COMMON_LVB_TRAILING_BYTE = 0x0200
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CharInfoT

type CharInfoT struct {
	UnicodeChar uint16
	Attributes  uint16
}

type Coord

type Coord struct {
	X, Y int16
}

type Handle

type Handle syscall.Handle

func New

func New() (Handle, error)

func (Handle) Close

func (handle Handle) Close() error

func (Handle) GetRecentOutput

func (handle Handle) GetRecentOutput() (string, error)

func (Handle) GetScreenBufferInfo

func (handle Handle) GetScreenBufferInfo() (*console_screen_buffer_info_t, error)

func (Handle) ReadConsoleOutput

func (handle Handle) ReadConsoleOutput(buffer []CharInfoT, size Coord, coord Coord, read_region *SmallRect) error

type SmallRect

type SmallRect struct {
	Left, Top, Right, Bottom int16
}

Directories

Path Synopsis
t

Jump to

Keyboard shortcuts

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