<h1 dir="auto">Toggle console with a Hotkey</h1>
<p dir="auto">When I'm working I use a lot of windows and I think it would be a good idea to have a HotKey to toggle the console (minimize/on top).</p>
<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>