fix(tui): a bracketed paste that is not the clipboard never attaches its image

The origin check ran only on Otty. An IME commit or a diverged tmux buffer on any
other terminal attached whatever image sat on the clipboard.
This commit is contained in:
雷电芽衣 committed 2026-09-29 13:54:45 -04:00
1 parent 0e063e5b02
commit 041c5ca030
6 files changed
+61 -36

No files matched your search

@@ -189,11 +189,6 @@ impl TerminalName {
| Self::Zed
)
}
/// Only Otty is known to wrap macOS IME commits in bracketed paste.
pub fn delivers_ime_as_bracketed_paste(self) -> bool {
matches!(self, Self::Otty)
}
}
impl TerminalContext {