Raxol.Core.Events.Clipboard (Raxol v0.2.0)

View Source

Handles clipboard operations for the Raxol application.

Note: On Linux, this module requires the xclip utility to be installed for accessing the X11 clipboard. Wayland is not currently supported directly.

Summary

Functions

Copies text to the system clipboard.

Retrieves text from the system clipboard.

Functions

copy(text)

@spec copy(String.t()) :: {:ok, String.t()} | {:error, atom() | String.t()}

Copies text to the system clipboard.

paste()

@spec paste() :: {:ok, String.t()} | {:error, atom() | String.t()}

Retrieves text from the system clipboard.