Shell: Print a warning when exiting with unterminated input
Merge pull request #1757 from chrisvest/shell-warn-unterminated

Shell: Print a warning when exiting with unterminated input