<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Win32NT 10.0.18362.0
Windows Terminal version (if applicable): 0.5.2762.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Win32NT 10.0.18362.0
Windows Terminal version (if applicable): 0.5.2762.0
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="echo -e '\e[4m underlined \e[33m yellow \e[39m should still be underlined \e[m'"><pre class="notranslate"><code class="notranslate">echo -e '\e[4m underlined \e[33m yellow \e[39m should still be underlined \e[m'
</code></pre></div>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The entire line should be underlined.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The "should still be underlined" bits aren't underlined.</p>
<p dir="auto">Note that SGR codes <code class="notranslate">22</code>, <code class="notranslate">27</code>, <code class="notranslate">39</code> and <code class="notranslate">49</code> seem to cause this effect, but only if they're predeced by a <code class="notranslate">1</code>, <code class="notranslate">7</code>, <code class="notranslate">30-37</code> or <code class="notranslate">40-47</code>, resp., that is, only if they do actually turn off some other attribute.</p>
<p dir="auto">Also note that if the "should still be underlined" text is made longer so that it overflows to the next line (or even multiple new lines), it's underlined in the last one of these lines. This makes it perhaps a reincarnation of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="286718366" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/47" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/47/hovercard" href="https://github.com/microsoft/terminal/issues/47">#47</a>.</p>
<p dir="auto">Furthermore, changing the window width and thus causing a reflow of the text removes the underlining from the last line.</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 [Version 10.0.18362.356] 
Windows Terminal version (if applicable): 0.5.2681.0

# Steps to reproduce

Try to select, copy and paste with the normal windows shortcuts for these operations.

# Expected behavior

I can select, copy and paste text with these shortcuts just like in the old console

# Actual behavior

The operations do not work"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18362.356] 
Windows Terminal version (if applicable): 0.5.2681.0

# Steps to reproduce

Try to select, copy and paste with the normal windows shortcuts for these operations.

# Expected behavior

I can select, copy and paste text with these shortcuts just like in the old console

# Actual behavior

The operations do not work
</code></pre></div>