|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Owning deterministic width policy; no font or terminal matching promise. More...
#include <text.hpp>
Public Member Functions | |
| bool | operator== (const WidthPolicy &other) const noexcept=default |
| Compare the full cache-key policy. | |
Public Attributes | |
| AmbiguousWidth | ambiguous {AmbiguousWidth::NARROW} |
| Width of printable Ambiguous scalars. | |
| EmojiWidth | emoji {EmojiWidth::TWO} |
| Width of recognized emoji clusters. | |
| std::uint64_t | revision {} |
| Caller-owned terminal capability revision, included in equality. | |
Owning deterministic width policy; no font or terminal matching promise.
Include the complete value in measurement/layout/cell-buffer cache keys. A policy change requires rebuilding text and invalidating affected geometry and paint. Independent values have no thread affinity.
|
defaultnoexcept |
Compare the full cache-key policy.
| other | Value whose corresponding fields are compared. |