Terminal.Gui: Application crashes while resizing on Windows 10 Version 22H2
Describe the bug When resizing the terminal by grabbing a corner or double-clicking on the title bar, the application throws an error. The problem disappears after removing the button.
To Reproduce
using Terminal.Gui;
namespace Test
{
public class Program
{
static void Main()
{
Application.Init();
var container = new View() { X = Pos.Center(), Y = Pos.Center(), Width = 8, Height = 8, ColorScheme = Colors.Error };
var button = new Button("Test") { X = Pos.Center(), Y = Pos.Center() };
container.Add(button);
Application.Top.Add(container);
Application.Run();
return;
}
}
}
Screenshots
Desktop:
- OS: Windows 10
- TerminalGui version: 1.12.1
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 1
- Comments: 15
I think we need a minimum repro before they will take it seriously. So a new console app with just the code needed to cause the ‘pipe not there’ error
On Mon, 10 Jul 2023, 13:23 BDisp, @.***> wrote:
@BDisp yes, im using 22H2.