osc-52: don't strip any control characters, and don't do newline conversion

This commit is contained in:
Daniel Eklöf 2026-03-02 08:11:13 +01:00
parent 037a2f4fa2
commit 46a9cb8aab
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 32 additions and 19 deletions

4
osc.c
View file

@ -261,12 +261,12 @@ osc_from_clipboard(struct terminal *term, const char *source)
if (from_clipboard) {
text_from_clipboard(
seat, term, &from_clipboard_cb, &from_clipboard_done, ctx);
seat, term, true, &from_clipboard_cb, &from_clipboard_done, ctx);
}
if (from_primary) {
text_from_primary(
seat, term, &from_clipboard_cb, &from_clipboard_done, ctx);
seat, term, true, &from_clipboard_cb, &from_clipboard_done, ctx);
}
}