This repository was archived by the owner on Mar 10, 2021. It is now read-only.

Description
winsize also exposes the window size of the terminal in pixels which supports image drawing (e.g. in Kitty).
Would you mind to expose it as well?
By the way, while looking at the sources of term_size I noticed that it defines TIOCGWINSZ on its own, even though the libc crate also defines it. I guess that's because the constant wasn't part of libc when term_size was initially written? Perhaps using the libc constant would fix #32 🤔