Referenced from https://github.com/antirez/linenoise
- Single line edit with the usual key bindings implemented.
- History handling.
- Colored text input.
mkdir build
cd build
cmake ..
make
../bin/main --red
--black
--red
--green
--yellow
--green
--purple
--cyan
--white
and default color if there is no argument.