Raxol.Terminal.Emulator.Reset (Raxol v2.0.1)

View Source

Handles emulator reset and cleanup functions. This module extracts the reset logic from the main emulator.

Summary

Functions

Cleans up the emulator state.

Clears the scrollback buffer.

Resets the terminal emulator to its initial state.

Resets the charset state.

Stops the emulator.

Functions

cleanup(emulator)

Cleans up the emulator state.

clear_scrollback(emulator)

@spec clear_scrollback(Raxol.Terminal.Emulator.t()) :: Raxol.Terminal.Emulator.t()

Clears the scrollback buffer.

reset(emulator)

Resets the terminal emulator to its initial state.

reset_charset_state(emulator)

@spec reset_charset_state(Raxol.Terminal.Emulator.t()) :: Raxol.Terminal.Emulator.t()

Resets the charset state.

stop(emulator)

Stops the emulator.