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

Bounded owning transport result; earlier results are never invalidated. More...

#include <terminal.hpp>

Public Attributes

TerminalStatus status {TerminalStatus::PROGRESS}
 Completion reason.
std::string bytes
 POSIX raw bytes; decode with InputDecoder.
std::vector< InputEvent > events
 Native semantic events; empty on POSIX.
std::optional< CellSize > resized
 Newly observed dimensions, if changed.
std::optional< TerminalError > error
 Present exactly when status is error.
std::optional< InputCoordinateMode > coordinate_mode {}
 Proven units before this batch; preserve partial decoder state.

Detailed Description

Bounded owning transport result; earlier results are never invalidated.


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