Using the Tk library:
require('Tk') func max_window_size() -> (Number, Number) { %O<MainWindow>.new.maxsize } var (width, height) = max_window_size() say (width, 'x', height)
1905x1050
Last updated 1 year ago