Added the ability for the prompt to use the last command when no command is typed in