Raxol.Terminal.Input.ClipboardHandler (Raxol v0.5.0)

View Source

Handles clipboard operations for the terminal emulator.

Summary

Functions

Handles clipboard copy operation. (Currently copies the entire buffer)

Handles clipboard cut operation. (Currently cuts the entire buffer)

Handles clipboard paste operation.

Functions

handle_copy(handler)

@spec handle_copy(Raxol.Terminal.Input.CoreHandler.t()) ::
  {:ok, Raxol.Terminal.Input.CoreHandler.t()} | {:error, any()}

Handles clipboard copy operation. (Currently copies the entire buffer)

handle_cut(handler)

@spec handle_cut(Raxol.Terminal.Input.CoreHandler.t()) ::
  {:ok, Raxol.Terminal.Input.CoreHandler.t()} | {:error, any()}

Handles clipboard cut operation. (Currently cuts the entire buffer)

handle_paste(handler)

@spec handle_paste(Raxol.Terminal.Input.CoreHandler.t()) ::
  {:ok, Raxol.Terminal.Input.CoreHandler.t()} | {:error, any()}

Handles clipboard paste operation.