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

Expose ws_xpixel and ws_ypixel #33

@swsnr

Description

@swsnr

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 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions