getch

getch() for Windows and Unix

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

Need help? Read Nimble
Author:
6A
No tagged versions available
License: MIT

Project website Hosted docs