<h1 dir="auto">Environment</h1>
<p dir="auto">Version: 1903<br>
OS BUILD: 18362.10006 (Microsoft Windows [Version 10.0.18362.10006])</p>
<p dir="auto">Windows Terminal version (if applicable):</p>
<p dir="auto">Any other software?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
# Steps to reproduce

Build code from 42c1e58966b50c72039808b09b663b74180519ce and the build completes, but when I start the app, I get failures and app just instantly closes out.
If I restore the file (src/cascadia/TerminalConnection/ConhostConnection.cpp) from 0da13cdf2d5ba2081f12f85f6816546489d4918b to any newer code then build succeeds and the app starts normally
# Expected behavior
I expect the newer version of src/cascadia/TerminalConnection/ConhostConnection.cpp to not cause the app to crash on startup

&lt;!-- A description of what you're expecting, possibly containing screenshots or reference material. --&gt;
I start the app with newest code and app crashes.  But when I restore the file of src/cascadia/TerminalConnection/ConhostConnection.cpp to pre 42c1e58966b50c72039808b09b663b74180519ce version, everything works fine.

# Actual behavior

The app crashes when I use the latest code of src/cascadia/TerminalConnection/ConhostConnection.cpp"><pre class="notranslate"><code class="notranslate">
# Steps to reproduce

Build code from 42c1e58966b50c72039808b09b663b74180519ce and the build completes, but when I start the app, I get failures and app just instantly closes out.
If I restore the file (src/cascadia/TerminalConnection/ConhostConnection.cpp) from 0da13cdf2d5ba2081f12f85f6816546489d4918b to any newer code then build succeeds and the app starts normally
# Expected behavior
I expect the newer version of src/cascadia/TerminalConnection/ConhostConnection.cpp to not cause the app to crash on startup

&lt;!-- A description of what you're expecting, possibly containing screenshots or reference material. --&gt;
I start the app with newest code and app crashes.  But when I restore the file of src/cascadia/TerminalConnection/ConhostConnection.cpp to pre 42c1e58966b50c72039808b09b663b74180519ce version, everything works fine.

# Actual behavior

The app crashes when I use the latest code of src/cascadia/TerminalConnection/ConhostConnection.cpp
</code></pre></div>
<p dir="auto">After signing to Azure Cloud Shell, I immediately want to use PowerShell, but I'm having issue with the cursor going to the top of the screen.</p>

<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows 10 Pro Build 1903 (x64)
Windows Terminal (Preview) - Version: 0.3.2171.0
PowerShell 6.2.2 GA
PowerShell 7 Preview.2"><pre class="notranslate"><code class="notranslate">Windows 10 Pro Build 1903 (x64)
Windows Terminal (Preview) - Version: 0.3.2171.0
PowerShell 6.2.2 GA
PowerShell 7 Preview.2
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>Open Terminal Settings to change the "colorScheme": "Solarized Dark", to "colorScheme": "Campbell", for better user experience</li>
<li>From the terminal list select "Azure Cloud Shell".</li>
<li>Type pwsh, and wait for the prompt.</li>
<li>At the PowerShell prompt, type  $psversiontable, and press enter.</li>
<li>Type "dir" and check the cursor position.</li>
<li>Type "exit" and press enter to exit PowerShell. (not possible)</li>
</ol>

<h1 dir="auto">Expected behavior</h1>
<p dir="auto">To be able to use PowerShell without any issues.</p>

<h1 dir="auto">Actual behavior</h1>

<ol dir="auto">
<li>At the PowerShell prompt, type  $psversiontable, and press enter.</li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19892435/62726914-515a4d80-b9e6-11e9-803b-a2e94b38f977.png"><img src="https://user-images.githubusercontent.com/19892435/62726914-515a4d80-b9e6-11e9-803b-a2e94b38f977.png" alt="TerminalAppErr_01_2019-08-08_14-04-40" style="max-width: 100%;"></a></p>
<ol start="2" dir="auto">
<li>Type "dir" and check the cursor position.</li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19892435/62726941-5a4b1f00-b9e6-11e9-9cb7-0e29e607e2b8.png"><img src="https://user-images.githubusercontent.com/19892435/62726941-5a4b1f00-b9e6-11e9-9cb7-0e29e607e2b8.png" alt="TerminalAppErr_02_2019-08-08_14-04-40" style="max-width: 100%;"></a></p>
<ol start="3" dir="auto">
<li>Type "exit" and press enter to exit PowerShell. (not possible)</li>
</ol>
<p dir="auto">At this moment, after a few minutes, Azure Shell seems to freeze, forcing the manual terminate the session.</p>