diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2023-07-22 18:31:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 18:31:35 +0000 |
commit | 0c94e4ae7b413a8ae4e37882f0d483d2e259bd44 (patch) | |
tree | e689b92d23d0b61b6c83d00d329581d51ecd296a /extra | |
parent | f2e543880f75f92421e34a186ea44d8f32cbd52a (diff) |
Add `terminal` config section to control OSCs
Some environments demand certain OSC sequences to be disabled or
some escape sequence could require handling which is out of scope
of alacritty, but could be done by external script (OSC 777).
Added section for now just handles the `OSC 52` sequence and changes
its default to be `OnlyCopy`, which is handy for remote copy, but
`Paste` is redundant because normal `Paste` hotkey could be used as
well.
Fixes #3386.
Co-authored-by: Christian Duerr <contact@christianduerr.com>
Diffstat (limited to 'extra')
-rw-r--r-- | extra/man/alacritty.5.scd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/man/alacritty.5.scd b/extra/man/alacritty.5.scd index ec670e75..f9e82ba3 100644 --- a/extra/man/alacritty.5.scd +++ b/extra/man/alacritty.5.scd @@ -534,6 +534,20 @@ This section documents the *[cursor]* table of the configuration file. Default: _0.15_ +# Terminal + +This section documents the *[terminal]* table of the configuration file. + +*osc52* "Disabled" | "OnlyCopy" | "OnlyPaste" | "CopyPaste" + + Controls the ability to write to the system clipboard with the _OSC 52_ + escape sequence. While this escape sequence is useful to copy contents + from the remote server, allowing any application to read from the clipboard + can be easily abused while not providing significant benefits over + explicitly pasting text. + + Default: _"OnlyCopy"_ + # Mouse This section documents the *[mouse]* table of the configuration file. |