it seems there is no way to programmatically change a screen.Window size.
currently, a screen.Window size can only be changed from outside the program (e.g. using the mouse).
I'd propose to extend screen.Window as such:
type Window interface {
// ...
// Resize resizes the window.
Resize(size image.Point)
// Size returns the size of the window.
Size() image.Point
}
it seems there is no way to programmatically change a
screen.Windowsize.currently, a
screen.Windowsize can only be changed from outside the program (e.g. using the mouse).I'd propose to extend
screen.Windowas such: