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

Added: Terminal CSI reporting of window and cell pixel size #4172

Merged
merged 1 commit into from
Sep 26, 2024

Commits on Sep 26, 2024

  1. Added: Terminal CSI reporting of window and cell pixel size

    Implement the following CSI escape sequences from
    https://invisible-island.net/xterm/ctlseqs/ctlseqs.html:
    
    > CSI Ps ; Ps ; Ps t
    > [..]
    >    Ps = 1 4  ⇒  Report xterm text area size in pixels.
    >    Result is CSI  4 ;  height ;  width t
    > [..]
    >    Ps = 1 6  ⇒  Report xterm character cell size in pixels.
    >    Result is CSI  6 ;  height ;  width t
    
    Extracted from changes in #2973
    by @MatanZ and adopted to play well with the just merged #3098 (.ws_xpixel
    and .ws_ypixel values in winsize).
    fornwall committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    85bbf93 View commit details
    Browse the repository at this point in the history