<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 NT 10.0.18362.0
Windows Terminal version (if applicable): 0.4.2382.0

Any other software?
Powershell 6.2.1 or Powershell 5.1
R 3.6.1"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable): 0.4.2382.0

Any other software?
Powershell 6.2.1 or Powershell 5.1
R 3.6.1
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>

<p dir="auto">Open a <a href="https://cran.r-project.org/index.html" rel="nofollow">R</a> session then type any expression and evaluate it. Then the up arrow should retrieve older commands in the history.</p>
<h1 dir="auto">Expected behavior</h1>

<p dir="auto">The up arrow should retrieve older commands in the history.</p>
<h1 dir="auto">Actual behavior</h1>

<p dir="auto">The up arrow does nothing, even if the R history is in an expected state as showed by the <code class="notranslate">history()</code> function.</p>
<p dir="auto">This bug occurs only in "Windows based" terminal, such as powershell and cmd, executed by Windows Terminal. This bug does not exist if R is run inside the <em>old</em> terminal. This bug does not exist either if R is running inside a ssh session inside powershell.</p>
<p dir="auto">Windows Terminal -&gt; Powershell -&gt; R -&gt; Bug<br>
Windows Terminal -&gt; CMD-&gt; R -&gt; Bug<br>
Windows Terminal -&gt; WSL Ubuntu 18.04 -&gt; R -&gt; Bug<br>
Old terminal -&gt; Powershell -&gt; R -&gt; No bug<br>
Old terminal -&gt; CMD -&gt; R -&gt; No bug<br>
Windows Terminal -&gt; Powershell -&gt; SSH into a linux host -&gt; R -&gt; No bug</p>
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number:[Version 10.0.18362.295]
Windows Terminal version (if applicable): 0.4.2382.0

PowerToys: 0.11.0"><pre class="notranslate"><code class="notranslate">Windows build number:[Version 10.0.18362.295]
Windows Terminal version (if applicable): 0.4.2382.0

PowerToys: 0.11.0
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Hold down the SHIFT key and drag the Windows Terminal window.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The FancyZone function in PowerToys should react and resize&amp;put the window to where I want it to be, just like other windows like explorer.exe and firefox.exe.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The FancyZone does not react. It just seems to be that I am dragging the window without holding down SHIFT key.</p>