package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Feb 4, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Get Char
The getchar
package enables you to capture a single character or key input without the need for the user to press enter.
You can found an example here
Documentation
¶
View Source
const (
Space = 32
CR = 13
Escape = 27
Backspace = 127
CtrlC = 3
CtrlD = 4
)
GetChar returns either an ASCII code or an arrow ("Up", "Down", "Right", "Left").
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.