Raxol.Terminal.ANSI.Window (Raxol Terminal v2.6.0)

Copy Markdown View Source

Consolidated window handling for the terminal emulator. Combines WindowEvents and WindowManipulation functionality. Supports window events, resizing, positioning, and state management.

Summary

Types

window_border_style()

@type window_border_style() :: :none | :single | :double | :rounded | :custom

window_event()

@type window_event() :: {:window_event, window_event_type(), map()}

window_event_type()

@type window_event_type() ::
  :close
  | :minimize
  | :maximize
  | :restore
  | :focus
  | :blur
  | :move
  | :resize
  | :state_change
  | :show
  | :hide
  | :activate
  | :deactivate
  | :drag_start
  | :drag_end
  | :drop

window_position()

@type window_position() :: {non_neg_integer(), non_neg_integer()}

window_size()

@type window_size() :: {non_neg_integer(), non_neg_integer()}

window_state()

@type window_state() :: :normal | :minimized | :maximized | :fullscreen

Functions