Raxol.Terminal.ScreenBuffer.Screen (Raxol Terminal v2.6.0)

Copy Markdown View Source

Handles screen buffer operations for the terminal emulator. This module provides functions for managing the screen state, including clearing, erasing, and marking damaged regions.

Summary

Functions

clear(screen_state)

clear_damaged_regions(screen_state)

erase_all(screen_state)

erase_all_with_scrollback(screen_state)

erase_from_cursor_to_end(screen_state)

erase_from_cursor_to_end_of_line(screen_state)

erase_from_start_of_line_to_cursor(screen_state)

erase_from_start_to_cursor(screen_state)

erase_line(screen_state)

get_damaged_regions(screen_state)

init()

mark_damaged(screen_state, x, y, width, height)