Versions in this module Expand all Collapse all v1 v1.3.4 Feb 29, 2016 v1.3.3 Jan 5, 2016 v1.3.2 Nov 24, 2015 v1.3.1 Oct 31, 2015 v1.2.3 Oct 21, 2015 v1.2.2 Oct 2, 2015 v1.1.3 Sep 9, 2015 v1.1.2 Sep 2, 2015 v1.1.1 Sep 1, 2015 v1.1.0 Aug 25, 2015 v1.0.5 Sep 9, 2015 v1.0.4 Sep 2, 2015 v1.0.3 Sep 1, 2015 v1.0.2 Aug 20, 2015 v1.0.1 Aug 5, 2015 v1.0.0 Jul 29, 2015 v0 v0.9.39 Jul 25, 2015 v0.9.38 Jul 9, 2015 Changes in this version + var IsInit bool = false + func Clear(fg, bg Attribute) error + func Close() + func Flush() error + func HideCursor() + func Init() error + func Interrupt() + func SetCell(x, y int, ch rune, fg, bg Attribute) + func SetCursor(x, y int) + func Size() (int, int) + func Sync() error + type Attribute uint16 + const AttrBold + const AttrReverse + const AttrUnderline + const ColorBlack + const ColorBlue + const ColorCyan + const ColorDefault + const ColorGreen + const ColorMagenta + const ColorRed + const ColorWhite + const ColorYellow + type Cell struct + Bg Attribute + Ch rune + Fg Attribute + func CellBuffer() []Cell + type Event struct + Ch rune + Err error + Height int + Key Key + Mod Modifier + MouseX int + MouseY int + N int + Type EventType + Width int + func ParseEvent(data []byte) Event + func PollEvent() Event + func PollRawEvent(data []byte) Event + type EventType uint8 + const EventError + const EventInterrupt + const EventKey + const EventMouse + const EventNone + const EventRaw + const EventResize + type InputMode int + const InputAlt + const InputCurrent + const InputEsc + const InputMouse + func SetInputMode(mode InputMode) InputMode + type Key uint16 + const KeyArrowDown + const KeyArrowLeft + const KeyArrowRight + const KeyArrowUp + const KeyBackspace + const KeyBackspace2 + const KeyCtrl2 + const KeyCtrl3 + const KeyCtrl4 + const KeyCtrl5 + const KeyCtrl6 + const KeyCtrl7 + const KeyCtrl8 + const KeyCtrlA + const KeyCtrlB + const KeyCtrlBackslash + const KeyCtrlC + const KeyCtrlD + const KeyCtrlE + const KeyCtrlF + const KeyCtrlG + const KeyCtrlH + const KeyCtrlI + const KeyCtrlJ + const KeyCtrlK + const KeyCtrlL + const KeyCtrlLsqBracket + const KeyCtrlM + const KeyCtrlN + const KeyCtrlO + const KeyCtrlP + const KeyCtrlQ + const KeyCtrlR + const KeyCtrlRsqBracket + const KeyCtrlS + const KeyCtrlSlash + const KeyCtrlSpace + const KeyCtrlT + const KeyCtrlTilde + const KeyCtrlU + const KeyCtrlUnderscore + const KeyCtrlV + const KeyCtrlW + const KeyCtrlX + const KeyCtrlY + const KeyCtrlZ + const KeyDelete + const KeyEnd + const KeyEnter + const KeyEsc + const KeyF1 + const KeyF10 + const KeyF11 + const KeyF12 + const KeyF2 + const KeyF3 + const KeyF4 + const KeyF5 + const KeyF6 + const KeyF7 + const KeyF8 + const KeyF9 + const KeyHome + const KeyInsert + const KeyPgdn + const KeyPgup + const KeySpace + const KeyTab + const MouseLeft + const MouseMiddle + const MouseRight + type Modifier uint8 + const ModAlt + type OutputMode int + const Output216 + const Output256 + const OutputCurrent + const OutputGrayscale + const OutputNormal + func SetOutputMode(mode OutputMode) OutputMode v0.9.34-1 Jun 30, 2015