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

Text entry #14

Closed TheBrainScrambler closed 2 years ago

TheBrainScrambler commented 4 years ago

Will you implement some way to enter text from the TUI ? I'm currently trying to create a TODO app and I need to ask the user the name of the TODO. Maybe something like getKeys()

enthus1ast commented 4 years ago

i've created a very minimal text input box in my illwillWidgets library, it is still very rough, though but maybe enough for your usecase.

johnnovak commented 3 years ago

I'm not planning to add widgets like a text box. Probably the best is to implement your own readLine() equivalent using getKey(). PRs are welcome :)

johnnovak commented 2 years ago

Closing due to inactivity/lack of interest.