Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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!


Something like dialog or whiptail? Dialog uses ncurses and whiptail uses s-lang.


yes, but no underlying libs, just pure bash... "How hard can that be"...


PC 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.


Using dialog is.. not comfortable - its a great tool, but its hard.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: