ConsoleGuiTools icon indicating copy to clipboard operation
ConsoleGuiTools copied to clipboard

out-consolegridview clears the console history in Terminal

Open lexiismadd opened this issue 2 years ago • 8 comments
trafficstars

Prerequisites

  • [X] Write a descriptive title.
  • [X] Make sure you are able to repro it on the latest version
  • [X] Search the existing issues.

Steps to reproduce

When using out-consolegridview in Terminal, it clears all of the console history other than what was on the terminal window when out-consolegridview is called, meaning you cannot scroll back up past what was on the screen when out-consolegridview is called. Unsure if this happens in regular PS Core, but it occurs in Terminal v1.17.11461.0 with ocgv 0.7.4.

Expected behavior

Out-ConsoleGridView is called.
User provides some form of input.
OCGV is closed
The console history can still be scrolled back up through (to the actual limit of the console history or what its set to)

Actual behavior

Out-ConsoleGridView is called.
User provides some form of input.
OCGV is closed.
Any console history not in the console window when OCGV is closed is cleared.

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      7.3.6
PSEdition                      Core
GitCommitId                    7.3.6
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

0.7.4

Visuals

No response

lexiismadd avatar Aug 08 '23 23:08 lexiismadd