<blockquote>
<p dir="auto">It may releated to <strong>Issue 2375: Crash: Use after free of std::function through CodepointWidthDetector</strong>, but I'm not sure.</p>
</blockquote>


<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.18985.0

Windows Terminal version (if applicable):
0.4.2382.0

Any other software?
PowerShell Core 7.0.0-preview.3"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number:
Microsoft Windows NT 10.0.18985.0

Windows Terminal version (if applicable):
0.4.2382.0

Any other software?
PowerShell Core 7.0.0-preview.3
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">I'm not sure. Just typing in WSL in Windows Terminal and it crashed abruptly.<br>
I tried to reproduce it by typing random strings and then crashed again, but maybe the reason of these crashes are not same.</p>
<h1 dir="auto">Feedback Hub Link</h1>
<p dir="auto"><strong><a href="https://aka.ms/AA63ois" rel="nofollow">https://aka.ms/AA63ois</a></strong></p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">It shouldn't crash.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">It crashed.</p>
<p dir="auto">Hi,<br>
I like the new terminal and use it often. One thing which doesn't look very nice is when I start the Terminal with "run as administrator" then I see the UAC prompt with the message "Unknown program". Can this be fixed to have "Windows Terminal" there?</p>
<p dir="auto">Thanks!</p>
<p dir="auto">best,<br>
Oliver</p>