<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 10.0.18362.449]

Windows Terminal version (if applicable):
No.

Any other software?
No."><pre lang="none" class="notranslate"><code class="notranslate">Windows build number:
Microsoft Windows [Version 10.0.18362.449]

Windows Terminal version (if applicable):
No.

Any other software?
No.
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>Open cmd.exe.</li>
<li>Go to window properties, "Colors" page.</li>
<li>Set "Screen Background" value to exactly <code class="notranslate">128 128 128</code>.</li>
</ol>

<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Cursor is visible no matter what background color is.</p>

<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Now you see it, now you don't.</p>

<h1 dir="auto"></h1>
<p dir="auto">Current "inverse" logic is too straightforward - it literally takes the inverse of the background, and for <code class="notranslate">128 128 128</code> the inverse is... <code class="notranslate">127 127 127</code>, which is basically the same thing. Oops.</p>
<p dir="auto">Note: <strong>Legacy console handles this corner case properly, as well as all Windows versions prior to 10</strong>.</p>
<p dir="auto">Also, legacy console inversion algorithm is not exactly "inverse" - the colors are slightly different (and subjectively more pleasant). Is it possible to get this classic inversion in the modern console please?</p>
<p dir="auto">This issue affects a text editor app that uses console color <code class="notranslate">8</code> (<code class="notranslate">128 128 128</code> in classic color scheme) to highlight various parts of text (e.g. current line). Sudden cursor disappearing is confusing and annoying.</p>
<p dir="auto">Example:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11453922/69289150-871cee00-0bf3-11ea-8893-219d107a5ca5.png"><img src="https://user-images.githubusercontent.com/11453922/69289150-871cee00-0bf3-11ea-8893-219d107a5ca5.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I have not been able to find a way to open Terminal as a different user.  I can run Terminal as an administrator, but that is not the option I am looking for.</p>
<p dir="auto">Is running Terminal as a different user not possible because it is a UWP app?</p>