5 ms·
> Consider for a moment what a monumental task it is to make a simple ncurses menu and status bar in bash script. It really isn't, see e.g. whiptail. And usin
by 112233 10y ago
> Consider for a moment what a monumental task it is to make a simple ncurses menu and status bar in bash script.
It really isn't, see e.g. whiptail.
And using ncurses for anything today is not a good idea. Surviving terminals are overwhelmingly ANSI, and can be supported by a single codebase that uses escape sequences directly, wihtout the horrors of ncurses.
- KirinDave 10y agoI have seen whiptail. It's still easier to make a list of selectable options in html or markdown.