Gui.cs: UI Catalog doesn't work on Windows Terminal

Created on 25 Jan 2021  路  7Comments  路  Source: migueldeicaza/gui.cs

when running UICatalog.exe from windows terminal there is an empty screen.
after some investigation it appears that this commit breaks the windows terminal:
94f58acecf70a7b1bfa6be1906b7f7cb91d1f1ef (Trying fix #335)

All 7 comments

I have also had difficulty on Windows with screen height since this commit

In c0540b5de6b37a15ec15714bdbcbf737dad3a223 it works:

image

In 94f58acecf70a7b1bfa6be1906b7f7cb91d1f1ef the screen height is halved:

image

Can you test with my PR #1066, please?

Can you test with my PR #1066, please?

Yup that seems to fix it (at least for me - OP has fully black screen), thanks

I changed the _heightAsBuffer field to false in the UICatalog to always use the window size. Still not the best solution because I can't always fit completely all the window size. Please check when you have the time. Thanks.

It's seems that Windows Terminal's cmd is rendering different than the cmd.exe.

On the cmd.exe when the height is equal to 0 the windows disappear but UICatalog is still running. It seems that is related with the "No process is on the other end of the pipe" error. But with the Visual Studio Debugger Console this doesn't happens.

Can you test with my PR #1066, please?

Works perfect
thanks !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tig picture tig  路  4Comments

migueldeicaza picture migueldeicaza  路  6Comments

migueldeicaza picture migueldeicaza  路  8Comments

tig picture tig  路  3Comments

pviotti picture pviotti  路  8Comments