<h1 dir="auto">Description of the new feature/enhancement</h1>

<p dir="auto">Since version 0.4 or later. When you right-click on the title bar, you want to display a context menu such as Minimize, Maximize, etc. just like a normal Windows application. Also, it would be nice if I able to attach and detach tabs by dragging and dropping them.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="440944398" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/443" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/443/hovercard" href="https://github.com/microsoft/terminal/issues/443">#443</a></p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<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.267] Windows 10 Professional Version 1903
Windows Terminal version (if applicable): whatever is out-of-the-box

Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: [Version 10.0.18362.267] Windows 10 Professional Version 1903
Windows Terminal version (if applicable): whatever is out-of-the-box

Any other software?
</code></pre></div>
<ul dir="auto">
<li>Ubuntu 18.04.LTS from the Microsoft Store fully updated with<br>
<code class="notranslate">sudo apt update ; sudo apt upgrade</code></li>
<li>The joe editor installed in Ubuntu with<br>
<code class="notranslate">sudo apt install joe</code></li>
</ul>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>Start the joe editor with a new file without specifying a filename</li>
<li>Type 3 lines at least to see what happens, e.g.:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="line1
line2
line3"><pre class="notranslate"><code class="notranslate">line1
line2
line3
</code></pre></div>
<ol start="3" dir="auto">
<li>Go back with the cursor to the middle of line2, e.g. before the 'n' character</li>
<li>Press the ENTER key.</li>
</ol>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The lines under the line which the cursor resides in should scroll down one, and the bottom line of the screen should scroll out, and the part of the line with the cursor following the cursor should go to the beginning of the line vacated by the scrolling down of the subsequent lines and the cursor should move to the beginning of the vacated line.</p>
<p dir="auto">I.e. you should see</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="line1
li
ne2
line3"><pre class="notranslate"><code class="notranslate">line1
li
ne2
line3
</code></pre></div>
<p dir="auto">and the new cursor position should be before the 'n' character of ne2.</p>
<p dir="auto"><strong>Note that after saving the file, the expected behavior is what correctly happens in the file data, only the display behavior is incorrect.</strong></p>
<p dir="auto"><strong>Note, that this worked correctly in Windows 1803 with the same Ubuntu 18.04 LTS and joe versions. The upgrade to Windows 1903 broke this, and reinstalling joe and reinstalling the entire Ubuntu 18.04 LTS distribution did not fix this either.</strong></p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">No scrolling of the part after the cursor happens, instead the line following the line the cursor was in is replaced with the part of the line the cursor resides in and the cursor (correctly) moves down to the beginning of the next line.</p>
<p dir="auto">I.e. you see</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="line1
li
ne2"><pre class="notranslate"><code class="notranslate">line1
li
ne2
</code></pre></div>
<p dir="auto">and the cursor position is (correctly) before the 'n' character of 'ne2'.</p>
<p dir="auto">Note, that this <strong>behaviour is different from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="475593096" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/2186" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/2186/hovercard" href="https://github.com/microsoft/terminal/issues/2186">#2186</a> (hence the separate bug)</strong>, because the part of the line following the cursor overwrites the subsequent line, whereas in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="475593096" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/2186" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/2186/hovercard" href="https://github.com/microsoft/terminal/issues/2186">#2186</a> it does not.</p>
<p dir="auto"><strong>Note that after saving the file, the expected behavior is what correctly happens to the file data, only the display behavior is incorrect.</strong></p>