Raxol.Terminal.Emulator.ScreenOperations (Raxol v2.0.1)
View SourceScreen operation functions extracted from the main emulator module. Handles screen clearing and line clearing operations.
Summary
Functions
Clears the entire line.
Clears the entire screen.
Clears from cursor to end of screen.
Clears from cursor to end of line.
Clears from start of line to cursor.
Clears from start of screen to cursor.
Clears the current line.
Types
@type emulator() :: Raxol.Terminal.Emulator.Struct.t()
Functions
@spec clear_entire_line(emulator(), non_neg_integer()) :: emulator()
Clears the entire line.
Clears the entire screen.
@spec clear_from_cursor_to_end( emulator(), non_neg_integer(), non_neg_integer() ) :: emulator()
Clears from cursor to end of screen.
@spec clear_from_cursor_to_end_of_line( emulator(), non_neg_integer(), non_neg_integer() ) :: emulator()
Clears from cursor to end of line.
@spec clear_from_start_of_line_to_cursor( emulator(), non_neg_integer(), non_neg_integer() ) :: emulator()
Clears from start of line to cursor.
@spec clear_from_start_to_cursor( emulator(), non_neg_integer(), non_neg_integer() ) :: emulator()
Clears from start of screen to cursor.
Clears the current line.