muriel-salvan / curses_menu Goto Github PK
View Code? Open in Web Editor NEWRuby API to create terminal-based menus, using curses.
License: Other
Ruby API to create terminal-based menus, using curses.
License: Other
Hi,
I just found your gem. Tested the submenu example and it worked
fine. It reminds me of the midnight commander.
Anyway. I am thinking of giving this a try, thinking of using curses_menu
for an oldschool toplevel menu interface. And below that, I would like
to add some simple game, say, tic-tac-toe, perhaps then snake, perhaps
then tetris.
If you ever find some spare time in the coming months or years to
come, could you perhaps add a slightly more advanced example
of curses_menu? This does not have to be anything complicated, just
something we could find in a typical interface. For instance, the menu
on top, and then something below, like a hello button or some input
formular. I think this should suffice - really just something larger
that we can adapt to our own use cases quickly. And perhaps if it
is possible to also show some "effects", be it colours or anything
else that can be done via curses in this regard.
At any rate thank you for reading!
When menus have a lot of items needing a lot of processing it is counter-efficient to prepare all the menu items before displaying the menu.
It would be better to add a way using Procs to evaluate the title of menu items only when required. The computed titles should then be cached for a better navigation experience.
When menus have a lot of items needing a lot of processing it is counter-efficient to prepare all the menu items before displaying the menu.
It would be better to add a way using Procs to evaluate the actions associated to menu items only when required. The computed actions should then be cached for a better navigation experience.
Actions lazy code should be executed after the titles one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.