Settings -> Terminal › Integrated: Accessible View Focus On Command Execution
or
"terminal.integrated.accessibleViewFocusOnCommandExecution": false