cmdbox icon indicating copy to clipboard operation
cmdbox copied to clipboard

Get WinSize in Windows

Open retronav opened this issue 4 years ago • 1 comments

I found a function GetConsoleScreenBufferInfo that can work in finding the terminal screen size. This is just speculation, and I haven't tried anything yet.

retronav avatar Jul 03 '21 15:07 retronav

We can get Row and Col, but I am not sure how can we get Xpixel and Ypixel. What do these two represent? The resolution of the terminal or something else?

retronav avatar Jul 09 '21 06:07 retronav