<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 NT 10.0.18362.0
Windows Terminal version (if applicable): Windows Terminal (Preview), Version: 0.4.2382.0


Any other software? No"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable): Windows Terminal (Preview), Version: 0.4.2382.0


Any other software? No
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>

<ol dir="auto">
<li>Open Windows Terminal.</li>
<li>Let the computer go into screen-locked status.</li>
<li>Unlocked the computer.</li>
<li>Notice Windows Terminal has been closed.</li>
<li>Proceed to Event Viewer -&gt; Application Log and look for event 1000's showing Desktop Windows Manager and Windows Terminal applications both crashing/faulting.</li>
</ol>
<blockquote>
<p dir="auto"><strong>Source: Application Error / ID: 1000</strong><br>
Faulting application name: WindowsTerminal.exe, version: 1.0.1908.26002, time stamp: 0x5d641823<br>
Faulting module name: ucrtbase.dll, version: 10.0.18362.267, time stamp: 0x080a13f7<br>
Exception code: 0xc0000409<br>
Fault offset: 0x000000000006d33e<br>
Faulting process id: 0x30050<br>
Faulting application start time: 0x01d5695cb9dc2e1e<br>
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.4.2382.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe<br>
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll<br>
Report Id: e93be2a0-375b-409c-a1e8-8df49489c81e<br>
Faulting package full name: Microsoft.WindowsTerminal_0.4.2382.0_x64__8wekyb3d8bbwe<br>
Faulting package-relative application ID: App</p>
</blockquote>
<blockquote>
<p dir="auto"><strong>Source: Application Error / ID: 1000</strong><br>
Faulting application name: dwm.exe, version: 10.0.18362.267, time stamp: 0x6468b8f9<br>
Faulting module name: ntdll.dll, version: 10.0.18362.267, time stamp: 0xc00f8a30<br>
Exception code: 0xc000000d<br>
Fault offset: 0x000000000010f220<br>
Faulting process id: 0x2cec0<br>
Faulting application start time: 0x01d5696eb2d23787<br>
Faulting application path: C:\WINDOWS\System32\dwm.exe<br>
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll<br>
Report Id: cd25779a-d818-438f-b423-2ddebb809148<br>
Faulting package full name:<br>
Faulting package-relative application ID:</p>
</blockquote>
<blockquote>
<p dir="auto"><strong>Source: Dwminit / ID: 0</strong><br>
The Desktop Window Manager process has exited. (Process exit code: 0x000000ff, Restart count: 2, Primary display device ID: AMD Radeon(TM) Vega 8 Graphics)</p>
</blockquote>
<h1 dir="auto">Expected behavior</h1>

<p dir="auto">Windows Terminal should stay open until it is closed like any other program.</p>
<h1 dir="auto">Actual behavior</h1>

<p dir="auto">Windows Terminal closes/crashes/faults unexpectedly.</p>
<h1 dir="auto">Environment</h1>
<p dir="auto">Not 100%-scale display (high DPI monitor)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18853.1000]
Windows Terminal version (if applicable): v0.4

Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18853.1000]
Windows Terminal version (if applicable): v0.4

Any other software?
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>

<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Rectangles should properly surround text inside the text buffer.</p>

<h1 dir="auto">Actual behavior</h1>
<p dir="auto">No alignment or sizing - displaying in the top left corner.</p>