yaronn / blessed-contrib

Build terminal dashboards using ascii/ansi art and javascript
MIT License
15.49k stars 842 forks source link

Feature Request - Forms #60

Open konobi opened 9 years ago

konobi commented 9 years ago

Hey,

it'd be great to get several widgets to deal with form functionality... like text fields, radio groups, selection list, checkboxes, textarea, etc.

thanks!

yaronn commented 9 years ago

I think the rich terminal shines with read only data since active interaction might be too complex.

With that in mind I think what you ask for is the original goal of blessed and I believe it has some relevant widgets:

https://github.com/chjj/blessed On Aug 1, 2015 1:09 PM, "Scott McWhirter" notifications@github.com wrote:

Hey,

it'd be great to get several widgets to deal with form functionality... like text fields, radio groups, selection list, checkboxes, textarea, etc.

thanks!

— Reply to this email directly or view it on GitHub https://github.com/yaronn/blessed-contrib/issues/60.

konobi commented 9 years ago

I know where you're coming from, but I see a need to be able to use those widgets with many of the other contrib widgets. For example, being able to pop a modal up and changing which filters apply for a line graph; or being able to select a raw data feed from a specific server; and even being able to change names of widgets, or legends, etc.

yaronn commented 9 years ago

Agree about filtering etc. I think this is still on the side of consuming content and not producing, so we see eye to eye. I think blessed has some of these widgets. I don't have any planned but will gladly take a PR. On Aug 1, 2015 6:43 PM, "Scott McWhirter" notifications@github.com wrote:

I know where you're coming from, but I see a need to be able to use those widgets with many of the other contrib widgets. For example, being able to pop a modal up and changing which filters apply for a line graph; or being able to select a raw data feed from a specific server; and even being able to change names of widgets, or legends, etc.

— Reply to this email directly or view it on GitHub https://github.com/yaronn/blessed-contrib/issues/60#issuecomment-126973016 .