Skip to main content

Module terminal

Module terminal 

Source

Constants§

DEFAULT_MAX_SCREEN_LINES
Default maximum number of lines to keep in the screen buffer
MAX_OUTPUT_SIZE
Maximum output size in bytes to prevent excessive memory usage
MAX_SCREEN_LINES
Maximum number of lines to keep in the screen buffer

Functions§

render_terminal_output
Render terminal output with line wrapping
strip_ansi_codes
Strip ANSI escape codes from a string using a robust regex