Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill .ws_xpixel and .ws_ypixel values in winsize #3098

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 16, 2022

  1. Added|Changed: Fill .ws_xpixel and .ws_ypixel in winsize

    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.
    Kruna1Pate1 committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    8e541b4 View commit details
    Browse the repository at this point in the history