Copy

Copy the selection to the clipboard.

since: 20210203-095643-70a364eb

This action is considered to be deprecated and will be removed in a future release; please use CopyTo instead.

Example

local wezterm = require 'wezterm'
return {
  keys = {
    { key = 'C', mods = 'CTRL', action = wezterm.action.Copy },
  },
}