1
0
Fork 0
mirror of https://github.com/6A/getch synced 2026-01-14 00:01:33 +00:00
No description
Find a file
2020-09-17 21:18:11 +02:00
.gitignore Remove .exe 2017-05-25 20:54:10 +02:00
getch.nim First commit 2017-05-25 20:53:38 +02:00
getch.nimble Removed useless srcDir property 2017-05-25 21:02:46 +02:00
README.md Mention Nim's terminal.getch in README.md. 2020-09-17 21:18:11 +02:00

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