Can capture keys, still need to handle ctrl-c