Structs§
- Console
Capture Guard - Guard for a dynamic command-window capture scope such as
evalc. - Console
Entry - Single console write (line or chunk) captured during execution.
- Diary
State Snapshot
Enums§
- Console
Stream - Identifies the console stream that received the text.
Functions§
- append_
thread_ buffer - Append console entries captured on another execution thread without forwarding them again to live stream listeners.
- begin_
capture - Begin capturing command-window text for the current execution context.
- diary_
enabled - diary_
filename - diary_
state_ snapshot - ensure_
diary_ writable - install_
forwarder - Install (or remove) a global forwarder for console output. Passing
Noneremoves the current listener. - record_
clear_ screen - Record a control event that asks the host to clear the visible console.
- record_
console_ line - Record a line-oriented console entry, ensuring the stream text ends with a newline.
- record_
console_ output - Record console output for the current thread while also forwarding it to any registered listener (used by wasm bindings for live streaming).
- record_
diary_ command - Append the top-level source text to the diary without echoing it to stdout.
- record_
value_ output - Convenience helper to record formatted value output (matching MATLAB’s
name = valuelayout). - replace_
diary_ state - reset_
thread_ buffer - Clears the per-thread console buffer. Call this before execution begins so each run only returns fresh output.
- set_
diary_ enabled - set_
diary_ enabled_ checked - set_
diary_ filename - set_
diary_ filename_ checked - take_
diary_ error - take_
last_ value_ output - take_
thread_ buffer - Drain (and return) the buffered console entries for the current thread.
- toggle_
diary