Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Idea] glimmer + curses / ncurses #36

Open
rubyFeedback opened this issue Mar 20, 2023 · 1 comment
Open

[Idea] glimmer + curses / ncurses #36

rubyFeedback opened this issue Mar 20, 2023 · 1 comment

Comments

@rubyFeedback
Copy link

So, as always, please feel free to ignore/disregard.

Lately I was thinking of oldschool terminal interfaces and ... curses popped up. Aka
ncurses.

"Accidentally" I found this gem:

https://github.com/Muriel-Salvan/curses_menu

I tested some examples, such as the submenu variant:

https://i.imgur.com/H6Jo3rF.png

Sure, does not look great, but we can kind of have a terminal on the
commandline, which can be useful in some cases.

My thinking here was this, though: "what if glimmer could abstract
away all of that for us" aka write the code logic once and then glimmer
auto-generates and yields all these thingies, including the ncurses
part. So, a toplevel menu could then be translated into such a
submenu, and so on and so forth.

I am sure you have more than enough things on your hands, but
I think if this would be possible in glimmer one day, that would be
pretty cool. Who knows - perhaps some rubocop-style autogenerator
for glimmer where we can autogenerate all code for other languages,
and then as our final step obsolete us, enter ChatGPT (aka machines
write the code) and call it a day! Anyway, I only wanted to point this
out quickly.

@AndyObtiva
Copy link
Owner

This is a duplicate of this past request:
#23

It is a good idea, but there are more pressing higher priorities relating to existing Glimmer projects at the moment.

Thank you for reporting. Please don’t report again to avoid creating more duplicates. Otherwise, for the time being, you could try to build a Glimmer DSL for TUI yourself if you really need it before I am available to build it myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants