Don't allow terminating the shell when running in the built-in Terminal
Don't allow terminating the shell when running in the built-in Terminal

Fixes #2750.

Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code