Working on terminal keyboard input, still a work in progress