config: rename ClipboardRequest to ClipboardAccess

This commit is contained in:
Gregory Anders
2023-11-10 16:34:04 -06:00
parent 9d3385703d
commit 2a64180ebd
2 changed files with 5 additions and 5 deletions

View File

@ -140,8 +140,8 @@ const DerivedConfig = struct {
/// For docs for these, see the associated config they are derived from. /// For docs for these, see the associated config they are derived from.
original_font_size: u8, original_font_size: u8,
keybind: configpkg.Keybinds, keybind: configpkg.Keybinds,
clipboard_read: configpkg.Config.ClipboardRequest, clipboard_read: configpkg.Config.ClipboardAccess,
clipboard_write: configpkg.Config.ClipboardRequest, clipboard_write: configpkg.Config.ClipboardAccess,
clipboard_trim_trailing_spaces: bool, clipboard_trim_trailing_spaces: bool,
clipboard_paste_protection: bool, clipboard_paste_protection: bool,
clipboard_paste_bracketed_safe: bool, clipboard_paste_bracketed_safe: bool,

View File

@ -458,8 +458,8 @@ keybind: Keybinds = .{},
/// the system clipboard (OSC 52, for googling). The default is to /// the system clipboard (OSC 52, for googling). The default is to
/// allow clipboard reading after prompting the user and allow writing /// allow clipboard reading after prompting the user and allow writing
/// unconditionally. /// unconditionally.
@"clipboard-read": ClipboardRequest = .ask, @"clipboard-read": ClipboardAccess = .ask,
@"clipboard-write": ClipboardRequest = .allow, @"clipboard-write": ClipboardAccess = .allow,
/// Trims trailing whitespace on data that is copied to the clipboard. /// Trims trailing whitespace on data that is copied to the clipboard.
/// This does not affect data sent to the clipboard via "clipboard-write". /// This does not affect data sent to the clipboard via "clipboard-write".
@ -2307,7 +2307,7 @@ pub const MouseShiftCapture = enum {
}; };
/// How to treat requests to write to or read from the clipboard /// How to treat requests to write to or read from the clipboard
pub const ClipboardRequest = enum { pub const ClipboardAccess = enum {
allow, allow,
deny, deny,
ask, ask,