mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
config: rename ClipboardRequest to ClipboardAccess
This commit is contained in:
@ -140,8 +140,8 @@ const DerivedConfig = struct {
|
||||
/// For docs for these, see the associated config they are derived from.
|
||||
original_font_size: u8,
|
||||
keybind: configpkg.Keybinds,
|
||||
clipboard_read: configpkg.Config.ClipboardRequest,
|
||||
clipboard_write: configpkg.Config.ClipboardRequest,
|
||||
clipboard_read: configpkg.Config.ClipboardAccess,
|
||||
clipboard_write: configpkg.Config.ClipboardAccess,
|
||||
clipboard_trim_trailing_spaces: bool,
|
||||
clipboard_paste_protection: bool,
|
||||
clipboard_paste_bracketed_safe: bool,
|
||||
|
@ -458,8 +458,8 @@ keybind: Keybinds = .{},
|
||||
/// the system clipboard (OSC 52, for googling). The default is to
|
||||
/// allow clipboard reading after prompting the user and allow writing
|
||||
/// unconditionally.
|
||||
@"clipboard-read": ClipboardRequest = .ask,
|
||||
@"clipboard-write": ClipboardRequest = .allow,
|
||||
@"clipboard-read": ClipboardAccess = .ask,
|
||||
@"clipboard-write": ClipboardAccess = .allow,
|
||||
|
||||
/// Trims trailing whitespace on data that is copied to the clipboard.
|
||||
/// 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
|
||||
pub const ClipboardRequest = enum {
|
||||
pub const ClipboardAccess = enum {
|
||||
allow,
|
||||
deny,
|
||||
ask,
|
||||
|
Reference in New Issue
Block a user