Raxol.Terminal.Emulator.Constructors (Raxol Terminal v2.6.0)

Copy Markdown View Source

Handles 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

new()

Creates a new terminal emulator instance with default dimensions.

new(opts)

Creates a new terminal emulator instance with options map.

new(width, height)

Creates a new terminal emulator instance with given width and height.

new(width, height, opts)

Creates a new terminal emulator instance with given width, height, and options.

new(width, height, config, options)

Creates a new emulator with width, height, and optional configuration.