<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.0
Windows Terminal version (if applicable): 0.6.2951.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number:  10.0.18362.0
Windows Terminal version (if applicable): 0.6.2951.0
</code></pre></div>
<p dir="auto">Using a windows port of ncurses to work with a TUI application.</p>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Print key code received on key press to terminal. Specifically the issue is with key codes for arrow keys. In <code class="notranslate">cmd</code> and <code class="notranslate">powershell</code> these are in the range 258 to 261, while when using windows terminal is in the 450-456 range with each being an even number in that range, inclusive. Most other keys seem to retain the same key values.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">It would be nice to have the same key code for arrow keys so that TUI applications can work in windows terminal, if not, then is there documentation for the keycodes for each key and their differences with those found in cmd or powershell?</p>
<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 [Version 18945.1001]
Windows Terminal version (if applicable): commit id 3f62c8b"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 18945.1001]
Windows Terminal version (if applicable): commit id 3f62c8b
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="473155047" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/2113" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/2113/hovercard" href="https://github.com/microsoft/terminal/issues/2113">#2113</a></p>
<blockquote>
<p dir="auto">Open tab too fast and many of them.<br>
Using shortcut key(default ctrl+shift+number) makes easy to open lots of tab at once</p>
<p dir="auto">Which I was doing was holding shortcut key(crtl+shift+2 to open cmd) for few seconds.</p>
</blockquote>
<blockquote>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/29011440/62143582-34a98000-b32b-11e9-9c47-6d5ef494a2a6.png"><img src="https://user-images.githubusercontent.com/29011440/62143582-34a98000-b32b-11e9-9c47-6d5ef494a2a6.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/29011440/62143745-91a53600-b32b-11e9-8a53-2346e22324df.png"><img src="https://user-images.githubusercontent.com/29011440/62143745-91a53600-b32b-11e9-8a53-2346e22324df.png" alt="image" style="max-width: 100%;"></a><br>
(with tabTitle as cmd)</p>
<p dir="auto">clicking on a tab and clicking in the console makes "only that" tab name to be shown like as normal.</p>
</blockquote>

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

<p dir="auto">Title shows.</p>
<h1 dir="auto">Actual behavior</h1>

<p dir="auto">newly fastly opend tab's title doesn't show before clicking a tab and clicking in the console.</p>