ability to move cursor and input history added.