<p dir="auto">Selecting Ubuntu isn't running in the terminal<br>
OS: Windows 10<br>
Terminal: Preview version</p>
<p dir="auto">Here's the scenarios:</p>
<ol dir="auto">
<li>No text in the interactive line. Active selection.</li>
<li>Text in the interactive line. Active selection.</li>
</ol>
<h2 dir="auto">Windows Terminal (before bugfix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="442478398" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/647" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/terminal/pull/647/hovercard" href="https://github.com/microsoft/terminal/pull/647">#647</a> )</h2>
<table role="table">
<thead>
<tr>
<th>Shell</th>
<th>Scenario 1</th>
<th>Scenario 2</th>
</tr>
</thead>
<tbody>
<tr>
<td>CMD</td>
<td>selection <em>cleared</em></td>
<td>Text and selection <em>cleared</em></td>
</tr>
<tr>
<td>Powershell</td>
<td>selection <em>active</em></td>
<td>text and selection <em>cleared</em></td>
</tr>
<tr>
<td>Ubuntu</td>
<td>selection <em>active</em></td>
<td>text and selection <em>active</em></td>
</tr>
</tbody>
</table>
<h2 dir="auto">Windows Terminal (after bugfix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="442478398" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/647" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/terminal/pull/647/hovercard" href="https://github.com/microsoft/terminal/pull/647">#647</a> )</h2>
<table role="table">
<thead>
<tr>
<th>Shell</th>
<th>Scenario 1</th>
<th>Scenario 2</th>
</tr>
</thead>
<tbody>
<tr>
<td>CMD</td>
<td>selection <em>cleared</em></td>
<td>Text and selection <em>cleared</em></td>
</tr>
<tr>
<td>Powershell</td>
<td>selection <em>cleared</em></td>
<td>text and selection <em>cleared</em></td>
</tr>
<tr>
<td>Ubuntu</td>
<td>selection <em>cleared</em></td>
<td>selection <em>cleared</em> (pressing again <em>DOES NOT</em> clear text)</td>
</tr>
</tbody>
</table>
<h2 dir="auto">Individual shells</h2>
<table role="table">
<thead>
<tr>
<th>Shell</th>
<th>Scenario 1</th>
<th>Scenario 2</th>
</tr>
</thead>
<tbody>
<tr>
<td>CMD</td>
<td>selection <em>cleared</em></td>
<td>selection <em>cleared</em> (press again to clear text)</td>
</tr>
<tr>
<td>Powershell</td>
<td>selection <em>cleared</em></td>
<td>selection <em>cleared</em> (press again to clear text)</td>
</tr>
<tr>
<td>Ubuntu</td>
<td>selection <em>cleared</em></td>
<td>selection <em>cleared</em> (pressing again <em>DOES NOT</em> clear text)</td>
</tr>
</tbody>
</table>
<p dir="auto">I can probably match the "selection <em>cleared</em> (press again to clear text)" behavior. Is Ubuntu's behavior a bug though? I noticed that though pressing ESC again doesn't clear text, pressing backspace then clears the text (as opposed to just one character).</p>