Raxol.Terminal.Modes.Handlers.StandardHandler (Raxol v2.0.1)
View SourceHandles standard mode operations and their side effects. Manages standard terminal modes like insert mode and line feed mode.
Summary
Functions
Handles a standard mode change (alias for handle_mode_change/3 for compatibility).
Handles a standard mode change and applies its effects to the emulator.
Functions
@spec handle_mode( Raxol.Terminal.Emulator.t(), atom(), Raxol.Terminal.Modes.Types.ModeTypes.mode_value() ) :: {:ok, Raxol.Terminal.Emulator.t()} | {:error, term()}
Handles a standard mode change (alias for handle_mode_change/3 for compatibility).
@spec handle_mode_change( atom(), Raxol.Terminal.Modes.Types.ModeTypes.mode_value(), Raxol.Terminal.Emulator.t() ) :: {:ok, Raxol.Terminal.Emulator.t()} | {:error, term()}
Handles a standard mode change and applies its effects to the emulator.