nxt::tui::PtyScreen struct

Layout adapter for a PTY-backed terminal session.

Public functions

auto height_hint() const →  HeightHint constexpr
PTY screens grow to fill available height.
void render(RasterView& raster, Size size) const
Resize the session and render its terminal under the session lock.
auto width_hint() const →  WidthHint constexpr
PTY screens grow to fill available width.

Public variables

nxt::subprocess::PtySession* session
Session to render and resize; null falls back to fallback.
nxt::vterm::Terminal* fallback
Terminal used when no live session is available.
Style clear_style
Style used to clear the pane before terminal contents are drawn.