Added arrow key cursor movement
Added SIGINT handling