mirror of
https://github.com/6A/getch
synced 2026-01-14 00:01:33 +00:00
No description
| .gitignore | ||
| getch.nim | ||
| getch.nimble | ||
| README.md | ||
No longer maintained -- you may want to use terminal.getch
in the Nim standard library instead.
Original README
getch
Simple and lightweight getch() proc for Nim.
Should work on all platforms.
Example
import getch
# Get next char from stdin
let ch: char = getCh()
# Get next char from stdin, and echo it
let ch: char = getCh(true)
Installation
nimble install getch