3 ms·
Imtui is not the same things as it is a C++ library, so you don't write shell code anymore, you write C++ dialog is an option but is quite limited in what you
by ogoffart 5y ago
Imtui is not the same things as it is a C++ library, so you don't write shell code anymore, you write C++
dialog is an option but is quite limited in what you can do.
There are many alternatives, and this is just another one to choose from.
Depending on where your script is required to run, a Rust tool might not be a problem. Not all shell scripts need to be super portable.
- einpoklum 5y agoYes, you're right about ImTui, removed that line. Disagree about portability. I mean, yes, you could write a shell script targeting even a single specific machine, but generally you want to assume as little as possible beyond a GNU operating system and its common utilities.
- pjmlp 5y agoBeyond a POSIX operating system and its common utilities.
- ogoffart 5y agoWhile it is true that some shell scripts need to be portable, many don't. Many shell scripts are written just to run in one single machine. Or they run in a controlled environment. Maybe even a docker container that provide anyway a set of tools and dependencies.