Raxol.Terminal.ANSI.Window (Raxol v2.0.1)
View SourceConsolidated window handling for the terminal emulator. Combines WindowEvents and WindowManipulation functionality. Supports window events, resizing, positioning, and state management.
Summary
Types
@type window_border_style() :: :none | :single | :double | :rounded | :custom
@type window_event() :: {:window_event, window_event_type(), map()}
@type window_event_type() ::
:close
| :minimize
| :maximize
| :restore
| :focus
| :blur
| :move
| :resize
| :state_change
| :show
| :hide
| :activate
| :deactivate
| :drag_start
| :drag_end
| :drop
@type window_position() :: {non_neg_integer(), non_neg_integer()}
@type window_size() :: {non_neg_integer(), non_neg_integer()}
@type window_state() :: :normal | :minimized | :maximized | :fullscreen
Functions
See Raxol.Terminal.ANSI.Window.Events.disable_window_events/0.
See Raxol.Terminal.ANSI.Window.Manipulation.disable_window_manipulation/0.
See Raxol.Terminal.ANSI.Window.Events.enable_window_events/0.
See Raxol.Terminal.ANSI.Window.Manipulation.enable_window_manipulation/0.
See Raxol.Terminal.ANSI.Window.Manipulation.format_resize/1.
See Raxol.Terminal.ANSI.Window.Events.process_window_event/2.