Settings>Updates and Security>For Developers >Terminal>Windows Console Host
follow these steps and check Windows Console Decides Host and your problem will be fixed.
Settings>Updates and Security>For Developers >Terminal>Windows Console Host
follow these steps and check Windows Console Decides Host and your problem will be fixed.