You can find this option in the: Main menu -> Run -> Edit Configurations -> Modify options -> Emulate terminal in output console
Main menu
Run
Edit Configurations
Modify options
Emulate terminal in output console
Here are the screenshots:
-