Tuish – TUI toolkit in pure portable shell script (bash/zsh/busybox/ksh/mksh)
github.com
github.com
Small TUI toolkit. This is an evolution of an old experiment: https://news.ycombinator.com/item?id=19517992
In the examples, there is a full text editor interface written in nothing but shell and other cool tricks (correct-width terminal tables, box drawing).
Would love some feedback. I tested only on a few selected terminals (WezTerm, VSCode terminal, Windows Terminal), but it should work on a bunch more.
Drawing is a small module though, what tuish does best is terminal compositing. It avoids tricks like cursor parking, which makes it fundamentally different from other TUIs internally. That's why we can render an editor in a partial viewport (non-full screen).
Also, no dependencies to install or compilation steps, just clone and run.