an ncurses drawing tool with a pathological c coding standard