This repository has been archived by the owner. It is now read-only.
getch for Nim
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
getch.nim
getch.nimble

README.md

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