store work before making a new getopt
engine:ncurses: accept events and send to main loop