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

Byte offsets describe the consumed rejected prefix, without raw ANSI diagnostics. Subsequent discard bytes are accounted by InputStep::consumed, not another issue. More...

#include <input.hpp>

Public Member Functions

bool operator== (const InputIssue &other) const =default
 Compare the complete event value.

Public Attributes

InputIssueKind kind {}
 Rejection reason.
std::uint64_t begin {}
 Inclusive session byte offset.
std::uint64_t end {}
 Exclusive offset at issue emission.
bool invalidates_pointer_metrics {}
 Rejected opt-in CSI 48; the owner must cancel/downgrade stale pixel context.

Detailed Description

Byte offsets describe the consumed rejected prefix, without raw ANSI diagnostics. Subsequent discard bytes are accounted by InputStep::consumed, not another issue.

Member Function Documentation

◆ operator==()

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

Compare the complete event value.

Parameters
otherEvent or metadata value to compare, without interpreting its payload.
Returns
True when every stored field is equal; false otherwise.

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