mirror of
https://github.com/fankes/termux-app.git
synced 2025-10-20 18:49:28 +08:00
This allows to get terminal size in pixel using `TIOCGWINSZ` ioctl. Set `.ws_xpixel` using `columns * cell_width` and set `.ws_ypixel` using `rows * cell_height`. Cell width and height is font width and line spacing, respectively.