PowerShell / ConsoleGuiTools

Modules that mix PowerShell and GUIs/CUIs!
https://www.powershellgallery.com/packages/Microsoft.PowerShell.ConsoleGuiTools
MIT License
780 stars 59 forks source link

Runaway process on Ubuntu 20.4 displaying random characters upon exit. #139

Closed cadayton closed 2 years ago

cadayton commented 3 years ago

After displaying the grid view and exiting, random characters are being generated in the terminal session.

image

To reproduce, installed the BOTtum module. BOTtum Then execute the cmdlet, Show-KBFileSystem "public" "cadayton"

image

image

scatenag commented 3 years ago

Same here!

wreid

The only way to stop weird character by mouse movement is to close the terminal and open another one: just exit from pwsh is not enough.

(..no Out-GridView and weird Out-ConsoleGridView on Ubuntu right now :( )

TylerLeonhardt commented 3 years ago

This is fixed,it just needs to be released.

https://github.com/PowerShell/GraphicalTools/pull/135

cc @SteveL-MSFT

cadayton commented 3 years ago

Cool. Thank you very much!!!

tig commented 3 years ago

@cadayton, can you please pull down PR #141 and verify this is fixed?

Thanks!

cadayton commented 3 years ago

On Ubuntu 20.4, I'm not running Windows Terminal. How is an upgrade to Windows Terminal going to resolve the issue?

tig commented 3 years ago

On Ubuntu 20.4, I'm not running Windows Terminal. How is an upgrade to Windows Terminal going to resolve the issue?

Tthe title of the PR is confusing. Terminal.Gui is what OCGV is based on. PR #141 for GraphicalTools uses the very latest (release candidate) of Terminal.Gui which should fix this issue.

cadayton commented 3 years ago

On the Ubuntu system, I tried to update the Terminal.Gui package. Unfortunately, I'm not up to speed enough on dotnet to figure out to get a newer Terminal.Gui nuget packages installed.

If you can provide a basic example of how to update the Terminal.Gui package, I'll be a able to test. Otherwise, I'll need to wait until I find some time to learn how to speak dotnet.

tig commented 3 years ago

@TylerLeonhardt or @SteveL-MSFT - Is there a way for you to do a build of GraphicalTools and publish a pre-release package on nuget?

cadayton commented 3 years ago

If someone can point me to the build documentation, I can build it and publish locally.

scatenag commented 3 years ago

It seems to be fixed in PowerShell 7.1.3 :+1:

(I get the same insane behavior with 'Get-Credential' on PowerShell Integrated Console v2021.2.2 )

tig commented 3 years ago

Should be fixed by #141

scatenag commented 3 years ago

Yes!! It is fixed ! :partying_face: :clap: :+1:

Peek 2021-04-30 10-03

tig commented 2 years ago

@andschwa this can be closed.

andyleejordan commented 2 years ago

Awesome!