nim-lang / needed-libraries

This repository contains a list a needed libraries.
112 stars 5 forks source link

High level TUI framework wrapper (FTXUI, AppCUI) #132

Open sgmihai opened 9 months ago

sgmihai commented 9 months ago

I see there are no high level TUI frameworks in nim. Illwill/wave and nimwave are quite low level, no included widgets at all. There's ncurses and notcurses wrappers but they have a limited widget set and for ncurses most of the useful ones are packaged separately and I think they have to have their own wrapper. I found these two written in C++, both look super nice in feature set and ease of use. How difficult would it be to wrap one of these ?

https://github.com/ArthurSonzogni/FTXUI https://github.com/gdt050579/AppCUI

adsr commented 9 months ago

Not a high level library, but there's a basic example of using termbox2 via FFI here. (This was my first time writing Nim so it probably sucks.)

sgmihai commented 9 months ago

We already have illwill/nimwave as a low level ncurses/termbox like library for nim. We don't have anything widget based. Somebody point this out: https://github.com/enthus1ast/illwillWidgets but still they're primitive, limited, and incomplete widgets.