4 ms·
recently i tasked myself into creating a bash TUI library/framework, thinking it would be as easy as taking good old pascal in late 1990s and just drawing on sc
by arpa 4y ago
recently i tasked myself into creating a bash TUI library/framework, thinking it would be as easy as taking good old pascal in late 1990s and just drawing on screen using ascii. Boy was I mistaken!
- rascul 4y agoSomething like dialog or whiptail? Dialog uses ncurses and whiptail uses s-lang.
- arpa 4y agoyes, but no underlying libs, just pure bash... "How hard can that be"...
- kevin_thibedeau 4y agoPC TUIs have the advantage of direct access to the character buffer. Doing it indirectly with control codes is much more involved when it comes to tracking terminal state.
- Aloha 4y agoUsing dialog is.. not comfortable - its a great tool, but its hard.