<h1 dir="auto">Description of the new feature/enhancement</h1>
<p dir="auto">There doesn't seem to be an obvious way to detect when running from the terminal. This is a issue for applications and libraries where behavior is dependent on the terminal. For example, a Python library may require colorama for some terminals and not others.</p>
<h1 dir="auto">Proposed technical implementation details</h1>
<p dir="auto">The most common and portable way to do this is to set the TERM environment variable when initializing the terminal.</p>
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.239[run &quot;ver&quot; at a command prompt]
Windows Terminal version 0.2.1831.0:

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

Any other software? No
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>

<p dir="auto">material. --&gt;<br>
Opened one WSL terminal tab with a relatively long path like this:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/44165182/62001710-04928f00-b129-11e9-9292-ae974dcc4369.png"><img src="https://user-images.githubusercontent.com/44165182/62001710-04928f00-b129-11e9-9292-ae974dcc4369.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">The path is too long to give other opened tabs space to show.</p>
<p dir="auto">I opened another WSL tab, but I cannot see it in the tab bar, only when I maximize the window size can I see it.</p>
<h2 dir="auto">normal size</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/44165182/62001733-74a11500-b129-11e9-81a2-11ea31aa7709.png"><img src="https://user-images.githubusercontent.com/44165182/62001733-74a11500-b129-11e9-81a2-11ea31aa7709.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">maximum  size</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/44165182/62001722-48859400-b129-11e9-90d0-64750d945afc.png"><img src="https://user-images.githubusercontent.com/44165182/62001722-48859400-b129-11e9-90d0-64750d945afc.png" alt="image" style="max-width: 100%;"></a></p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The tab with relatively long path should shorten itself to give other tabs enough space to show, like in vscode or vs.</p>
<p dir="auto">Actually this could not be a bug, but may be an issue or feature to be considered.</p>