core: not unsafe on bracketed

This commit is contained in:
Mitchell Hashimoto
2023-11-05 09:20:27 -08:00
parent ef44551522
commit f521b0cb99

View File

@ -2514,7 +2514,7 @@ fn completeClipboardPaste(
// //
// We do not do this for bracketed pastes because bracketed pastes are // We do not do this for bracketed pastes because bracketed pastes are
// by definition safe since they're framed. // by definition safe since they're framed.
if ((true or !bracketed) and if (!bracketed and
self.config.clipboard_paste_protection and self.config.clipboard_paste_protection and
!allow_unsafe and !allow_unsafe and
!terminal.isSafePaste(data)) !terminal.isSafePaste(data))