<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.19013.0
Windows Terminal version (if applicable):0.6.2951.0

Any other software? PSReadLine 2.0.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.19013.0
Windows Terminal version (if applicable):0.6.2951.0

Any other software? PSReadLine 2.0.0
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Copy a PowerShell function at least twice the height of the terminal window to the clipboard. Right-mouse click paste the code in to terminal.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The pasted function works as expected.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The terminal window content area "flashes".  Somewhere along the way an error appears--usually, but not always, after a closing brace (}).  The error is, reported in red text, "Oops, something went wrong...Report on GitHub: <a href="https://github.com/lzybkr/PSReadLine/issues/new">https://github.com/lzybkr/PSReadLine/issues/new</a>".  The issues happens on PS 5.1 and PS 6.</p>
<p dir="auto">Pasting the same code in to a non-terminal PS 5.1 works as expected with the same version of PSReadLine.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46634177/68094989-a259d080-fe73-11e9-9478-21f75569f0db.PNG"><img src="https://user-images.githubusercontent.com/46634177/68094989-a259d080-fe73-11e9-9478-21f75569f0db.PNG" alt="Error" style="max-width: 100%;"></a></p>
<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): Version: 0.4.2382.0

Any other software?
Office C2R
SSMS 18.2
VSCode

# Steps to reproduce

- Right-Click app from start menu
- Fill in appropriate credentials

# Expected behavior

Expecting a copy of Windows Terminal to load.

# Actual behavior

Nothing after entering credentials.   Looking in task manager, WindowsTerminal.exe does not seem to load.

This was not built, this was the preview through the store."><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.0
Windows Terminal version (if applicable): Version: 0.4.2382.0

Any other software?
Office C2R
SSMS 18.2
VSCode

# Steps to reproduce

- Right-Click app from start menu
- Fill in appropriate credentials

# Expected behavior

Expecting a copy of Windows Terminal to load.

# Actual behavior

Nothing after entering credentials.   Looking in task manager, WindowsTerminal.exe does not seem to load.

This was not built, this was the preview through the store.
</code></pre></div>