Got the ncurses keyboard input working via asfd.