<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [run &quot;ver&quot; at a command prompt]
Windows Terminal version (if applicable):

Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: [run "ver" at a command prompt]
Windows Terminal version (if applicable):

Any other software?
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Title tab is very large, don't auto scale size. If I open many tab, i can't click "x" to close this tab (use exit command to exit)<br>
There is many tab but can't see three tab<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/26348718/62345261-e27b8100-b51b-11e9-86fa-24897814cc75.png"><img src="https://user-images.githubusercontent.com/26348718/62345261-e27b8100-b51b-11e9-86fa-24897814cc75.png" alt="image" style="max-width: 100%;"></a></p>

<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Auto scale size title tab as chrome</p>

<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Hidden title tab</p>
<p dir="auto">Windows (Insider) Build is 10.0.17713.1002</p>
<p dir="auto">I'm trying out the new pseudo terminal support, and capturing the output of a program that simply prints <code class="notranslate">hello, world!</code> to stdout produces the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="�[2J�[?25l�[39m�[49m�[Hhello, world!��[?25h�[Hh�[Hh�[1;14H�[1;14H"><pre class="notranslate"><code class="notranslate">�[2J�[?25l�[39m�[49m�[Hhello, world!��[?25h�[Hh�[Hh�[1;14H�[1;14H
</code></pre></div>
<p dir="auto">Breaking this down:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="0x1B[2J       # clear screen??
0x1B[?25l     # hide cursor
0x1B[39m      # default foreground color
0x1B[49m      # default background color
0x1B[H        # move cursor home??
hello, world! #
0x08          # Backspace key??
0x1B[?25h     # show cursor
0x1B[H        # move cursor home??
h             # print 'h' over the first char??
0x1B[H        #
h             # ...twice??
0x1B[1;14H    # move cursor after printed text
0x1B[1;14H    # ...twice??"><pre class="notranslate"><code class="notranslate">0x1B[2J       # clear screen??
0x1B[?25l     # hide cursor
0x1B[39m      # default foreground color
0x1B[49m      # default background color
0x1B[H        # move cursor home??
hello, world! #
0x08          # Backspace key??
0x1B[?25h     # show cursor
0x1B[H        # move cursor home??
h             # print 'h' over the first char??
0x1B[H        #
h             # ...twice??
0x1B[1;14H    # move cursor after printed text
0x1B[1;14H    # ...twice??
</code></pre></div>
<p dir="auto">Now some of these make sense, but a few I find confusing.<br>
Why clear the screen? (Either the user provided an empty file or a pipe to the PTY, or they intended to collect more than once programs output - at worst the clearing is unnecessary, at worst unwanted)<br>
Why move the cursor to the top left?<br>
Where does the backspace control character come from?<br>
Why is the first character (h) overwritten twice, are erroneously detected changes of the output buffer being rendered as VT sequences here?</p>