`Application.Begin` should set `toplevel`'s size to the console size
See original GitHub issue [Fact, AutoInitShutdown]
public void Begin_Sets_Application_Top_To_Console_Size()
{
Assert.Equal (new Rect (0, 0, 80, 25), Application.Top.Frame);
((FakeDriver)Application.Driver).SetBufferSize (5, 5);
Application.Begin (Application.Top);
// BUGBUG: v2 - This test should pass; it does not currently
Assert.Equal (new Rect (0, 0, 5, 5), Application.Top.Frame);
}
Issue Analytics
- State:
- Created 6 months ago
- Comments:8
Top Results From Across the Web
How to increase the size of the console window in C#? - ...
Right-click it, Properties, Layout tab. Adjust the Width property of the screen buffer and window size. ... But this is not maximising the...
Read more >How to set size of mate-panel via command line (not ...
Try this: gsettings set org.mate.panel.toplevel:/org/mate/panel/toplevels/bottom/ size 45. That should set the value you want.
Read more >Application with multiple screens #127 - gui-cs/Terminal.Gui
I've spent some time trying to do the same thing. You will need Terminal.Gui.dll built from source (or wait till NuGet refresh), ...
Read more >Terminal/Console User Interface in .NET Core
This is easy, you can keep everything fixed, but nowadays terminal emulators and console sizes could vary and users customize them.
Read more >Console.SetBufferSize(Int32, Int32) Method (System)
Sets the height and width of the screen buffer area to the specified values.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry I didn’t look in this. Yes make sense and is a great fix. Thanks.
This was fixed.