Builditluc / wiki-tui

A simple and easy to use Wikipedia Text User Interface
https://wiki-tui.net/
MIT License
405 stars 14 forks source link

Added macro to create enum with all languages at compile time #169

Closed cshjsc closed 1 year ago

cshjsc commented 1 year ago

I didn't do it through the build.rs, but this works too.

cshjsc commented 1 year ago

A problem I found with this is that because there are too many languages on the menu, as it is now you cannot scroll and can't search either, so you just have the languages that fit on the screen. I think there's a way to solve that easily but I'm no expert with the tui library

Builditluc commented 1 year ago

as it is now you cannot scroll and can't search either

Yeah, I'm working on the search currently. Any view can be made scrollable by adding .scrollable() to it (see the commit I made in the main pr).