Versions in this module Expand all Collapse all v1 v1.1.0 Feb 6, 2022 Changes in this version + const ALL_MOUSE_EVENTS + const A_ALTCHARSET + const A_ATTRIBUTES + const A_BLINK + const A_BOLD + const A_CHARTEXT + const A_COLOR + const A_DIM + const A_HORIZONTAL + const A_INVIS + const A_LEFT + const A_LOW + const A_NORMAL + const A_PROTECT + const A_REVERSE + const A_RIGHT + const A_STANDOUT + const A_TOP + const A_UNDERLINE + const A_VERTICAL + const BUTTON1_CLICKED + const BUTTON1_DOUBLE_CLICKED + const BUTTON1_PRESSED + const BUTTON1_RELEASED + const BUTTON1_TRIPLE_CLICKED + const BUTTON2_CLICKED + const BUTTON2_DOUBLE_CLICKED + const BUTTON2_PRESSED + const BUTTON2_RELEASED + const BUTTON2_TRIPLE_CLICKED + const BUTTON3_CLICKED + const BUTTON3_DOUBLE_CLICKED + const BUTTON3_PRESSED + const BUTTON3_RELEASED + const BUTTON3_TRIPLE_CLICKED + const BUTTON4_CLICKED + const BUTTON4_DOUBLE_CLICKED + const BUTTON4_PRESSED + const BUTTON4_RELEASED + const BUTTON4_TRIPLE_CLICKED + const BUTTON_ALT + const BUTTON_CTRL + const BUTTON_SHIFT + const ERR + const KEY_DOWN + const KEY_LEFT + const KEY_MOUSE + const KEY_RESIZE + const KEY_RIGHT + const KEY_UP + const REPORT_MOUSE_POSITION + func ACS_BLOCK() uint32 + func ACS_BOARD() uint32 + func ACS_BTEE() uint32 + func ACS_BULLET() uint32 + func ACS_CKBOARD() uint32 + func ACS_DARROW() uint32 + func ACS_DEGREE() uint32 + func ACS_DIAMOND() uint32 + func ACS_HLINE() uint32 + func ACS_LANTERN() uint32 + func ACS_LARROW() uint32 + func ACS_LLCORNER() uint32 + func ACS_LRCORNER() uint32 + func ACS_LTEE() uint32 + func ACS_PLMINUS() uint32 + func ACS_PLUS() uint32 + func ACS_RARROW() uint32 + func ACS_RTEE() uint32 + func ACS_S1() uint32 + func ACS_S9() uint32 + func ACS_TTEE() uint32 + func ACS_UARROW() uint32 + func ACS_ULCORNER() uint32 + func ACS_URCORNER() uint32 + func ACS_VLINE() uint32 + func Addch(ch int) + func Addstr(str ...interface{}) + func Attroff(attr int) + func Attron(attr int) + func Attrset(attr int) + func COLORS() int + func COLOR_PAIRS() int + func CanChangeColor() bool + func Cbreak() + func Clear() + func Echo() + func End() + func Erase() + func Getch() int + func Getmaxyx() (row, col int) + func HasColors() bool + func Mouseinterval(delay time.Duration) time.Duration + func Move(y, x int) + func Mvaddch(y, x int, ch int) + func Mvaddstr(y, x int, str ...interface{}) + func Noecho() + func Raw() + func Refresh() + func StartColor() error + func Timeout(d time.Duration) + func UseDefaultColors() + type Color int + const COLOR_BLACK + const COLOR_BLUE + const COLOR_CYAN + const COLOR_DEFAULT + const COLOR_GREEN + const COLOR_MAGENTA + const COLOR_RED + const COLOR_WHITE + const COLOR_YELLOW + func (c Color) Content() (int, int, int) + func (c Color) Init(r, g, b int) + type ColorPair int + func Attrget() (int, ColorPair) + func (p ColorPair) Attribute() int + func (p ColorPair) Content() (Color, Color) + func (p ColorPair) Init(fg, bg Color) + type MouseEvent struct + Id int + State MouseMask + X int + Y int + Z int + func Getmouse() *MouseEvent + type MouseMask C.mmask_t + func Mousemask(mask MouseMask) MouseMask + type Window struct + var Stdscr *Window = &Window{ ... } + func Initscr() *Window + func NewWindow(height, width, starty, startx int) *Window + func (win *Window) Addch(ch int) + func (win *Window) Addstr(str ...interface{}) + func (win *Window) Attroff(attr int) + func (win *Window) Attron(attr int) + func (win *Window) Attrset(attr int) + func (win *Window) Border(ls, rs, ts, bs, tl, tr, bl, br int) + func (win *Window) Box(v, h int) + func (win *Window) Clear() + func (win *Window) Clrtoeol() + func (win *Window) Del() + func (win *Window) Erase() + func (win *Window) Getch() int + func (win *Window) Getmaxyx() (row, col int) + func (win *Window) Idlok(bf bool) + func (win *Window) Keypad(on bool) + func (win *Window) Mvaddch(y, x int, ch int) + func (win *Window) Mvaddstr(y, x int, str ...interface{}) + func (win *Window) Refresh() + func (win *Window) Scroll() + func (win *Window) Scrollok(bf bool) + func (win *Window) Setscrreg(top, bot int) + func (win *Window) Timeout(d time.Duration) + func (win *Window) Wmove(y, x int)