Versions in this module Expand all Collapse all v0 v0.2.9 Jan 10, 2023 v0.2.8 Jun 8, 2022 v0.2.7 Jun 5, 2022 v0.2.6 Jun 5, 2022 v0.2.5 Jun 5, 2022 v0.2.4 Jun 5, 2022 v0.2.3 Jun 5, 2022 v0.2.2 Jun 5, 2022 v0.2.1 Jun 5, 2022 v0.2.0 Jun 2, 2022 v0.1.0 Jun 2, 2022 Changes in this version + type Key struct + AltPressed bool + Code KeyCode + Runes []rune + func (k Key) String() (str string) + type KeyCode int + const Backspace + const Break + const CtrlA + const CtrlAt + const CtrlB + const CtrlBackslash + const CtrlC + const CtrlCaret + const CtrlCloseBracket + const CtrlD + const CtrlDown + const CtrlE + const CtrlF + const CtrlG + const CtrlH + const CtrlI + const CtrlJ + const CtrlK + const CtrlL + const CtrlLeft + const CtrlM + const CtrlN + const CtrlO + const CtrlOpenBracket + const CtrlP + const CtrlQ + const CtrlQuestionMark + const CtrlR + const CtrlRight + const CtrlS + const CtrlShiftDown + const CtrlShiftLeft + const CtrlShiftRight + const CtrlShiftUp + const CtrlT + const CtrlU + const CtrlUnderscore + const CtrlUp + const CtrlV + const CtrlW + const CtrlX + const CtrlY + const CtrlZ + const Delete + const Down + const End + const Enter + const Esc + const Escape + const F1 + const F10 + const F11 + const F12 + const F13 + const F14 + const F15 + const F16 + const F17 + const F18 + const F19 + const F2 + const F20 + const F3 + const F4 + const F5 + const F6 + const F7 + const F8 + const F9 + const Home + const Left + const Null + const PgDown + const PgUp + const Right + const RuneKey + const ShiftDown + const ShiftLeft + const ShiftRight + const ShiftTab + const ShiftUp + const Space + const Tab + const Up + func (k KeyCode) String() (str string)