mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +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.
|
/// 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,
|
||||||
|
@ -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,
|
||||||
|
Reference in New Issue
Block a user