<h1 dir="auto">Description of the new feature/enhancement</h1>
<p dir="auto">Ability to specify a list of command(s) to be ran upon opening a new terminal. This would be extremely useful if users wanted to configure their terminal upon opening a new tab, for example, I would like that once I open a new CMD instance it would go to a specific directory (cd ...).</p>
<p dir="auto">It's obvious there may need to be different lists for different terminals.</p>
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18363.0
Windows Terminal version: 0.6.2951.0

Any other software? Nope"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18363.0
Windows Terminal version: 0.6.2951.0

Any other software? Nope
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>Start Terminal</li>
<li>Focus another window</li>
<li>Re-focus Terminal by clicking on the active tab</li>
<li>Enter text using your keyboard</li>
</ol>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Raising the Terminal window should focus the text area no matter how you do it.</p>
<p dir="auto">Works as expected if you click any other tab than the currently active.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Text input is ignored even though the Terminal window has focus. Text input is restored when clicking the text area or focusing another tab.</p>