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

View file

@ -1375,13 +1375,13 @@ execute_binding(struct seat *seat, struct terminal *term,
case BIND_ACTION_SEARCH_CLIPBOARD_PASTE:
text_from_clipboard(
seat, term, &from_clipboard_cb, &from_clipboard_done, term);
seat, term, false, &from_clipboard_cb, &from_clipboard_done, term);
*update_search_result = *redraw = true;
return true;
case BIND_ACTION_SEARCH_PRIMARY_PASTE:
text_from_primary(
seat, term, &from_clipboard_cb, &from_clipboard_done, term);
seat, term, false, &from_clipboard_cb, &from_clipboard_done, term);
*update_search_result = *redraw = true;
return true;