yet another ncurses realization