johnnovak / illwill

A curses inspired simple cross-platform console library for Nim
Do What The F*ck You Want To Public License
398 stars 27 forks source link

Method of getting string input? #43

Closed idiot-with-a-keyboard closed 9 months ago

idiot-with-a-keyboard commented 9 months ago

I am trying to make a TUI for discord, and I cant find any other non-blocking key input like this. In every other library it blocks code from continuing while looking for input, instead of passing None.

johnnovak commented 9 months ago

You'll need to write the text input widget yourself, handling individual keypresses.