Versions in this module Expand all Collapse all v0 v0.0.1 Oct 2, 2023 Changes in this version + const Acp — windows/amd64 + const BackgroundBlue — windows/amd64 + const BackgroundGreen — windows/amd64 + const BackgroundRed — windows/amd64 + const DisableNewlineAutoReturn — windows/amd64 + const EnableEchoInput — windows/amd64 + const EnableInsertMode — windows/amd64 + const EnableLineInput — windows/amd64 + const EnableLvbGridWorldwide — windows/amd64 + const EnableMouseInput — windows/amd64 + const EnableProcessedInput — windows/amd64 + const EnableProcessedOutput — windows/amd64 + const EnableQuickEditMode — windows/amd64 + const EnableVirtualTerminalInput — windows/amd64 + const EnableVirtualTerminalProcessing — windows/amd64 + const EnableWindowInput — windows/amd64 + const EnableWrapAtEolOutput — windows/amd64 + const FocusEvent — windows/amd64 + const ForegroundBlue — windows/amd64 + const ForegroundGreen — windows/amd64 + const ForegroundIntensity — windows/amd64 + const ForegroundRed — windows/amd64 + const InvalidHandleValue — windows/amd64 + const KeyEvent — windows/amd64 + const Maccp — windows/amd64 + const MenuEvent — windows/amd64 + const MouseEvent — windows/amd64 + const Oemcp — windows/amd64 + const StdErrorHandle — windows/amd64 + const StdInputHandle — windows/amd64 + const StdOutputHandle — windows/amd64 + const Symbol — windows/amd64 + const ThreadAcp — windows/amd64 + const Utf7 — windows/amd64 + const Utf8 — windows/amd64 + const WindowBufferSizeEvent — windows/amd64 + func ClearScreen(hStdout Handle) error + func EnableMode(hStdout Handle, flag ...int) error + func FillAttribute(hStdout Handle, attribute uint16, length int, writeCoord Coord) (uint16, error) + func FillCharacter(hStdout Handle, character rune, length int, writeCoord Coord) (uint16, error) + func GetCP() (uint32, error) + func GetKey(hStdin Handle) (uint16, error) + func GetMode(hStdout Handle) (uint32, error) + func GetOutputCP() (uint32, error) + func GetScreenBufferInfo(hStdout Handle, lpScreenBufferInfo *ScreenBufferInfo) error + func IsEnableMode(hStdout Handle, flag int) bool + func ReadInput(hStdin Handle, lpBuffer unsafe.Pointer, length uint32, ...) error + func ScrollScreenBuffer(hStdout Handle, lpScrollRectangle, lpClipRectangle *SmallRect, ...) error + func SetCP(wCodePage uint32) error + func SetCursorInfo(hStdout Handle, lpCursorInfo *CursorInfo) error + func SetCursorPosition(hStdout Handle, pos Coord) error + func SetCursorVisible(hStdout Handle, bVisible bool) error + func SetMode(hStdout Handle, dwMode uint32) error + func SetOutputCP(wCodePage uint32) error + func SetTitle(title string) error + func WriteAttribute(hStdout Handle, attribute uint16, length uint32, writeCoord Coord) (uint16, error) + func WriteCharacter(hStdout Handle, character uint16, length uint32, writeCoord Coord) (uint16, error) + type CharInfo struct — windows/amd64 + Attributes uint16 + UnicodeChar uint16 + type Coord struct — windows/amd64 + X int16 + Y int16 + func GetCursorPosition(hStdout Handle) (Coord, error) + func MoveCursor(hStdout Handle, offset Coord) (Coord, error) + type CursorInfo struct — windows/amd64 + Size uint32 + Visible bool + func GetCursorInfo(hStdout Handle) (CursorInfo, error) + type FocusEventRecord struct — windows/amd64 + SetFocus bool + type Handle uintptr — windows/amd64 + func GetStdHandle(nStdHandle uint32) (Handle, error) + type KeyEventRecord struct — windows/amd64 + ControlKeyState uint32 + KeyDown int32 + RepeatCount uint16 + UnicodeChar uint16 + VirtualKeyCode uint16 + VirtualScanCode uint16 + type MenuEventRecord struct — windows/amd64 + CommandId uint + type MouseEventRecord struct — windows/amd64 + ButtonState uint32 + ControlKeyState uint32 + EventFlags uint32 + MousePosition Coord + type ScreenBufferInfo struct — windows/amd64 + Attributes uint16 + CursorPosition Coord + MaximumWindowSize Coord + Size Coord + Window SmallRect + type SmallRect struct — windows/amd64 + Bottom int16 + Left int16 + Right int16 + Top int16 + type WindowBufferSizeRecord struct — windows/amd64 + Size Coord