historian v0.11.0-beta.2 Historian.Clipboard View Source

Functionality related to copy and pasting using the operating system's clipboard.

Link to this section Summary

Link to this section Types

Link to this type

missing_x_server()

View Source
missing_x_server() :: {:error, :missing_x_server}
Link to this type

success()

View Source
success() :: {:ok, :copied_to_clipboard}
Link to this type

unknown_os_error()

View Source
unknown_os_error() :: {:error, :unknown_os}

Link to this section Functions

Link to this function

paste()

View Source
paste() :: {:ok, String.t()} | {:error, :paste_failed}