last_output

Function last_output 

Source
pub fn last_output() -> &'static Mutex<VecDeque<String>>
Expand description

Rolling buffer of recent user-facing output lines, ordered oldest to newest. Appended to by every aprintln! invocation and read by the last REPL command.

Uses OnceLock rather than LazyLock to keep the accessible REPL crate compatible with older stable Rust releases.