Git Product home page Git Product logo

curses_menu's People

Contributors

muriel-salvan avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

curses_menu's Issues

Larger example?

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!

Make menu items titles rendered in a lazy way

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.

Make menu items actions rendered in a lazy way

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.