getch

getch() for Windows and Unix

Pure Nim score 30/100 · tests present · docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-26 13:10

Tags

Installation

nimble install getch
choosenim install getch
git clone https://github.com/6A/getch

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
getch - - - - - - -

Source

Repository https://github.com/6A/getch
Homepage https://github.com/6A/getch
Documentation View Documentation
Registry Source nimble_official

README

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](https://github.com/nim-lang/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`