<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 
Microsoft Windows [Version 10.0.18362.267]

Windows Terminal version (if applicable):
Windows Terminal (Preview)
Version: 0.3.2142.0

Any other software?
None"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 
Microsoft Windows [Version 10.0.18362.267]

Windows Terminal version (if applicable):
Windows Terminal (Preview)
Version: 0.3.2142.0

Any other software?
None
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Start terminal.  Resize.  I pretty consistently get a crash when I get to about the point of the single tab going to zero width.</p>
<p dir="auto">Start terminal.  Add multiple tabs.  Resize.  I get crashes when the third tab starts to slide under the new tab UI.</p>
<p dir="auto">Sometimes you can shrink all the way down and back.  Sometimes you can shrink all the way down, and it'll crash as it is being expanded.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Window resizes without crash</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Here's one of the entries from my event log.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Faulting application name: WindowsTerminal.exe, version: 1.0.1908.2002, time stamp: 0x5d448424
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.18362.267, time stamp: 0x3e916038
Exception code: 0xc000027b
Fault offset: 0x00000000007126f0
Faulting process id: 0x2fa8
Faulting application start time: 0x01d54c269fed96bb
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.3.2142.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report Id: 985f1c17-14dc-45a2-9bf2-2e663574efa9
Faulting package full name: Microsoft.WindowsTerminal_0.3.2142.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App"><pre lang="none" class="notranslate"><code class="notranslate">Faulting application name: WindowsTerminal.exe, version: 1.0.1908.2002, time stamp: 0x5d448424
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.18362.267, time stamp: 0x3e916038
Exception code: 0xc000027b
Fault offset: 0x00000000007126f0
Faulting process id: 0x2fa8
Faulting application start time: 0x01d54c269fed96bb
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.3.2142.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report Id: 985f1c17-14dc-45a2-9bf2-2e663574efa9
Faulting package full name: Microsoft.WindowsTerminal_0.3.2142.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App
</code></pre></div>
<p dir="auto">Here's the feedback hub entry, which should have dx attached to it:</p>
<p dir="auto"><a href="https://aka.ms/AA5roli" rel="nofollow">https://aka.ms/AA5roli</a></p>
<h1 dir="auto">Environment</h1>
<p dir="auto"><a href="https://github.com/microsoft/terminal/issues">https://github.com/microsoft/terminal/issues</a></p>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>Open Command Prompt - i.e. run cmd</li>
<li>Open Properties | Options - remove check from 'Use Legacy console'   - switch OFF</li>
<li>Close Command Prompt</li>
<li>Open Command Prompt - i.e. run cmd</li>
<li>Open Properties | Options - add check from 'Use Legacy console'   - switch ON</li>
<li>Close Command Prompt</li>
<li>Open Command Prompt - i.e. run cmd</li>
</ol>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">All properties of the terminal should be the same as before step 2. That is to say restoring the 'Use Legacy console' property in step 5 should restore the state of the terminal to what it was before the property was changed.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">After restoring the 'Use Legacy console' to OFF the terminal window is blank because the terminal colours have not been correctly restored to their previous state - both foreground and background are black. Similarly the cursor color is black rather than inverse colour.</p>