Raxol.Terminal.Emulator.Constructors (Raxol v2.0.1)
View SourceHandles emulator constructor functions. This module extracts the constructor logic from the main emulator.
Summary
Functions
Creates a new terminal emulator instance with default dimensions.
Creates a new terminal emulator instance with options map.
Creates a new terminal emulator instance with given width and height.
Creates a new terminal emulator instance with given width, height, and options.
Creates a new emulator with width, height, and optional configuration.
Functions
@spec new() :: Raxol.Terminal.Emulator.t()
Creates a new terminal emulator instance with default dimensions.
@spec new(%{ :width => non_neg_integer(), :height => non_neg_integer(), optional(atom()) => term() }) :: Raxol.Terminal.Emulator.t()
Creates a new terminal emulator instance with options map.
@spec new(non_neg_integer(), non_neg_integer()) :: Raxol.Terminal.Emulator.t()
Creates a new terminal emulator instance with given width and height.
@spec new(non_neg_integer(), non_neg_integer(), keyword()) :: Raxol.Terminal.Emulator.t()
Creates a new terminal emulator instance with given width, height, and options.
@spec new(non_neg_integer(), non_neg_integer(), map(), map()) :: Raxol.Terminal.Emulator.t()
Creates a new emulator with width, height, and optional configuration.