mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
core: not unsafe on bracketed
This commit is contained in:
@ -2514,7 +2514,7 @@ fn completeClipboardPaste(
|
||||
//
|
||||
// We do not do this for bracketed pastes because bracketed pastes are
|
||||
// by definition safe since they're framed.
|
||||
if ((true or !bracketed) and
|
||||
if (!bracketed and
|
||||
self.config.clipboard_paste_protection and
|
||||
!allow_unsafe and
|
||||
!terminal.isSafePaste(data))
|
||||
|
Reference in New Issue
Block a user