Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::InputSizeReport Struct Reference

Owning CSI 48 text-area dimensions, in wire order; not terminal authentication. More...

#include <input.hpp>

Public Member Functions

bool operator== (const InputSizeReport &other) const =default
 Compare every reported dimension.

Public Attributes

std::uint32_t rows {}
 Positive character height.
std::uint32_t columns {}
 Positive character width.
std::uint32_t text_height_px {}
 Text-area pixel height; zero means unavailable.
std::uint32_t text_width_px {}
 Text-area pixel width; zero means unavailable.

Detailed Description

Owning CSI 48 text-area dimensions, in wire order; not terminal authentication.

Member Function Documentation

◆ operator==()

bool portals::InputSizeReport::operator== ( const InputSizeReport & other) const
default

Compare every reported dimension.

Parameters
otherIndependently owned report to compare.
Returns
Whether all dimensions match.

The documentation for this struct was generated from the following file: