Skip to main content

op_output

Function op_output 

Source
pub fn op_output(line: &str)
Expand description

Emit a line of adapter op output (SRD-41 / “console belongs to the adapter”). Delegates to the installed crate::output_channel::OutputChannel (SRD-87): the op-output bucket’s impl decides where the bytes land — raw to the owned stdout (a console-owning adapter or a pipe, via [op_output_raw]) or routed through the live display (an interactive dashboard, avoiding the raw-mode staircase). Before any channel is installed (bootstrap / unit tests with no run), falls back to the raw path so early output is never lost.