Raxol.Terminal.NotificationManager (Raxol v2.0.1)
View SourceManages terminal notifications, telemetry events, and callbacks.
This module is responsible for:
- Sending notifications to runtime processes
- Emitting telemetry events
- Managing callback execution
- Logging notification events
Summary
Functions
Notifies about a clipboard event.
Notifies about a cursor event.
Notifies about a focus change event.
Notifies about a mode change event.
Notifies about a paste event.
Notifies about a terminal resize event.
Notifies about a scroll event.
Notifies about a selection change event.
Functions
Notifies about a clipboard event.
Parameters
runtime_pid- The PID of the runtime process to notifycallback_module- The callback module to executetype- The clipboard operation typedata- The clipboard data
Notifies about a cursor event.
Parameters
runtime_pid- The PID of the runtime process to notifycallback_module- The callback module to executecursor- The cursor data
Notifies about a focus change event.
Parameters
runtime_pid- The PID of the runtime process to notifycallback_module- The callback module to executefocused?- Whether the terminal is focused
Notifies about a mode change event.
Parameters
runtime_pid- The PID of the runtime process to notifycallback_module- The callback module to executenew_mode- The new mode
Notifies about a paste event.
Parameters
runtime_pid- The PID of the runtime process to notifycallback_module- The callback module to executetext- The pasted textpos- The paste position
Notifies about a terminal resize event.
Parameters
runtime_pid- The PID of the runtime process to notifycallback_module- The callback module to executewidth- The new widthheight- The new height
@spec notify_scroll_event( pid() | nil, module() | nil, atom(), integer(), {integer(), integer()} ) :: :ok
Notifies about a scroll event.
Parameters
runtime_pid- The PID of the runtime process to notifycallback_module- The callback module to executedir- The scroll directiondelta- The scroll deltapos- The scroll position
Notifies about a selection change event.
Parameters
runtime_pid- The PID of the runtime process to notifycallback_module- The callback module to executeselection- The selection data