gyscos / cursive

A Text User Interface library for the Rust programming language
MIT License
4.26k stars 243 forks source link

[FEATURE] How would I bring form, panel, and menu into this? #749

Open TyrfingMjolnir opened 1 year ago

TyrfingMjolnir commented 1 year ago

Is your feature request related to a problem? Please describe. More of a rust question really; How would I bring form, panel, and menu into this?

Describe the solution you'd like Be able to create, read, and edit database data with label and field in form and panel of ncurses.

Describe alternatives you've considered Add form and panel into cursive

Additional context Not really, keep up the good work!

gyscos commented 1 year ago

Hi, and thanks for the report!

I'm not sure I entirely understand the question.

Are you looking for an application that connects to a database and shows a UI letting users see and edit entries in a DB? Such an UI could be built using cursive. There is no such built-in components at the moment, but you could write your own or combine existing components (for example each row could be a horizontal LinearLayout of EditView). It sounds like a relatively large project, especially if you'd want to be generic and handle any table.