mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-07 11:09:49 +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.