Show HN: Promptui – Rich UI elements for cli prompts in Go
github.com
github.com
Any source for something like this that is usable on a modern computer? I did a bit of eBay-ing and everything was ancient/incompatible and megabucks.
Maybe just links[0]/elinks[1]/lynx[2]...
[0] https://en.wikipedia.org/wiki/Links_(web_browser)
The crucial thing is to avoid reinventing teletext :)
The initial idea of the web as a source of linked static documents were fine. Heck, even early CGI sites may have been fine. It was AJAX(?) that brought the madness.
And btw, late gen terminals from DEC could show images (and perhaps even videos by abusing the protocol).
Except the text is aligned vertically and the terminal scrolls horizontally.
You've just logged into... the Twilight Zone.
Don't have an immediate use but I like it.
But you're right, we should bring them to the readme or to the _examples folder.
Here's the project for anyone interested: https://github.com/AlecAivazis/survey
Are you saying emacs is not customizable enough?
I've published a package that exposes a few convenience methods written using it, including a cool one for printing a table (which detects the width of the terminal window and hides extra columns automatically). Check it out https://github.com/fabiospampinato/inquirer-helpers
It's incredibly easy to get started with, and lets you build crazy wonderful things like pt_python and pgcli/mycli.
E.g. one of the debuggers for Julia, Gallium simply adds some new modes. So you can be in stepping-through-code-mode and then at any time switch back to Julia mode and inspect variables at that point in the execution stack.
Another mode is a package mode being developed for the new Julia package manager. So when adding, removing, updating, creating etc packages you can go into package mode and get behavior relevant to working with packages.
I had the idea of creating a mode for a board game, e.g. a Settlers of Catan mode, which is focused on issuing commands relevant to that game.
It's the C library behind whiptail, a reimplementation of dialog, which is a cli app for making menus. Incidentally, dialog is usually what you see when you get a semi-gui install with many Linux distributions.
Being C, you can use it with just about everything.
[0] https://en.wikipedia.org/wiki/Newt_%28programming_library%29