ANSITerminal
Terminal implementation that uses ANSI escape codes for colored output.
This terminal provides colored formatting using ANSI escape sequences:
Strong text: Orange color (ANSI 208)
Parameters: Cyan color (ANSI 36)
Errors: Red color (ANSI 31)
Plain text: Reset to default color
Parameters
Whether to output to standard error instead of standard output
Functions
Called when closing error text formatting.
Called when closing parameter/code text formatting.
Called when closing plain text formatting.
Called when closing strong/bold text formatting.
Emits a platform-appropriate newline sequence.
Emits text with strong/bold formatting. Default implementation outputs as plain text.
Outputs ANSI escape sequence for error text (red color).
Outputs ANSI escape sequence for parameter text (cyan color).
Outputs ANSI reset sequence to return to plain text formatting.
Outputs ANSI escape sequence for strong/bold text (orange color).