2020-10-10 18:40:14 +03:00
|
|
|
# Copy
|
|
|
|
|
2021-01-27 19:43:59 +03:00
|
|
|
Copy the selection to the clipboard.
|
|
|
|
|
2021-02-03 21:03:04 +03:00
|
|
|
*since: 20210203-095643-70a364eb*
|
2021-01-31 20:28:42 +03:00
|
|
|
|
|
|
|
This action is considered to be deprecated and will be removed in
|
|
|
|
a future release; please use [CopyTo](CopyTo.md) instead.
|
|
|
|
|
|
|
|
## Example
|
2021-01-27 19:43:59 +03:00
|
|
|
|
2020-10-10 18:40:14 +03:00
|
|
|
|
|
|
|
```lua
|
2022-06-25 16:58:10 +03:00
|
|
|
local wezterm = require 'wezterm'
|
2020-10-10 18:40:14 +03:00
|
|
|
return {
|
|
|
|
keys = {
|
2022-07-19 17:54:31 +03:00
|
|
|
{ key = 'C', mods = 'CTRL', action = wezterm.action.Copy },
|
|
|
|
},
|
2020-10-10 18:40:14 +03:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|