<p dir="auto">I originally opened <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="478069455" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/2333" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/2333/hovercard" href="https://github.com/microsoft/terminal/issues/2333">#2333</a> which was supposed to be resolved by <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="474630455" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/2150" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/terminal/pull/2150/hovercard" href="https://github.com/microsoft/terminal/pull/2150">#2150</a> but I am still seeing the issue in 0.5</p>
<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): 0.5.2762.0

"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable): 0.5.2762.0


</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Set showTabsInTitlebar to true.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/6216e1f89a262053c58b1284f1f912772c2bc738405d98c675c7474cc170884e/68747470733a2f2f646576626c6f67732e6d6963726f736f66742e636f6d2f636f6d6d616e646c696e652f77702d636f6e74656e742f75706c6f6164732f73697465732f33332f323031392f30372f7469746c652d6261722d7630332e706e67"><img src="https://camo.githubusercontent.com/6216e1f89a262053c58b1284f1f912772c2bc738405d98c675c7474cc170884e/68747470733a2f2f646576626c6f67732e6d6963726f736f66742e636f6d2f636f6d6d616e646c696e652f77702d636f6e74656e742f75706c6f6164732f73697465732f33332f323031392f30372f7469746c652d6261722d7630332e706e67" alt="working" data-canonical-src="https://devblogs.microsoft.com/commandline/wp-content/uploads/sites/33/2019/07/title-bar-v03.png" style="max-width: 100%;"></a></p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/8a1da44a795e0ebc41c96af6e402d0bf7c8fc2331cd63cb3e73a826e5849fec1/68747470733a2f2f692e696d6775722e636f6d2f7a5536575843522e706e67"><img src="https://camo.githubusercontent.com/8a1da44a795e0ebc41c96af6e402d0bf7c8fc2331cd63cb3e73a826e5849fec1/68747470733a2f2f692e696d6775722e636f6d2f7a5536575843522e706e67" alt="true" data-canonical-src="https://i.imgur.com/zU6WXCR.png" style="max-width: 100%;"></a></p>
<p dir="auto">When showTabsInTitlebar is false</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/f2ca7d41a892c4f0e69a188f61f76592a7de137535027c0d7de7efb2079085c2/68747470733a2f2f692e696d6775722e636f6d2f4372636b3830422e706e67"><img src="https://camo.githubusercontent.com/f2ca7d41a892c4f0e69a188f61f76592a7de137535027c0d7de7efb2079085c2/68747470733a2f2f692e696d6775722e636f6d2f4372636b3830422e706e67" alt="false" data-canonical-src="https://i.imgur.com/Crck80B.png" style="max-width: 100%;"></a></p>
<p dir="auto">Steps to repro:</p>
<ol dir="auto">
<li>Open cmd.exe or Powershel.exe</li>
<li>Press Win+. in order to open the Emoji Picker overlay</li>
<li>Click on any emoji, multiple times, until the console crashes</li>
</ol>