Egui::Terminal::Backend
Inherits Reference < Object
Instance methods
alive?
Sourceevented_pass(frame_time : Float64) : Nil
One bounded evented scheduler pass per FRAME — under the native backend the sokol loop never yields to the Crystal scheduler, so this is what lets PTY data reach the reader fibers (see Session#evented_pass: a ~1 ms select, deduped by the frame time so every TermView/pump in one frame shares a single pass — the frame cost stays flat as sessions grow). The default is a no-op: fake/headless backends have no reader fibers. Call before #pump.
pump
Pull newly arrived PTY bytes into the emulator (and flush emulator replies back). Call once per frame; returns true when the visible state changed.