Raxol.Terminal.Commands.Screen (Raxol v2.0.1)

View Source

Handles screen manipulation commands in the terminal.

This module provides functions for clearing the screen or parts of it, inserting and deleting lines, and other screen manipulation operations.

Summary

Functions

clear_line(emulator, mode)

clear_screen(emulator, mode)

delete_lines(emulator, count)

insert_lines(emulator, count)

scroll_down(emulator, count)

scroll_up(emulator, lines)

scroll_up_screen_command(emulator, count)

@spec scroll_up_screen_command(Raxol.Terminal.Emulator.t(), non_neg_integer()) ::
  Raxol.Terminal.Emulator.t()