Documentation
¶
Rendered for windows/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsoleScreenBufferInfoT ¶
type ConsoleScreenBufferInfoT struct { Size coordT CursorPosition coordT Attributes uint16 Window smallRectT MaximumWindowSize coordT }
ConsoleScreenBufferInfoT is the type for structure contains terminal's information.
func GetConsoleScreenBufferInfo ¶
func GetConsoleScreenBufferInfo() *ConsoleScreenBufferInfoT
GetConsoleScreenBufferInfo returns the latest ConsoleScreenBufferInfoT cursor position, window region.
func (*ConsoleScreenBufferInfoT) CursorX ¶
func (csbi *ConsoleScreenBufferInfoT) CursorX() int
func (*ConsoleScreenBufferInfoT) CursorY ¶
func (csbi *ConsoleScreenBufferInfoT) CursorY() int
func (*ConsoleScreenBufferInfoT) Height ¶
func (csbi *ConsoleScreenBufferInfoT) Height() int
func (*ConsoleScreenBufferInfoT) ViewSize ¶
func (csbi *ConsoleScreenBufferInfoT) ViewSize() (int, int)
ViewSize returns window size from ConsoleScreenBufferInfo structure.
func (*ConsoleScreenBufferInfoT) Width ¶
func (csbi *ConsoleScreenBufferInfoT) Width() int
type Handle ¶
func (Handle) GetConsoleScreenBufferInfo ¶
func (h Handle) GetConsoleScreenBufferInfo() *ConsoleScreenBufferInfoT
Click to show internal directories.
Click to hide internal directories.