selection: must use term_paste_data_to_slave() for paste data

This commit is contained in:
Daniel Eklöf 2020-08-22 16:20:49 +02:00
parent 91a839bf8e
commit 9ec4c3fd94
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1211,7 +1211,7 @@ selection_from_clipboard(struct seat *seat, struct terminal *term, uint32_t seri
term->is_sending_paste_data = true;
if (term->bracketed_paste)
term_to_slave(term, "\033[200~", 6);
term_paste_data_to_slave(term, "\033[200~", 6);
text_from_clipboard(
seat, term, &from_clipboard_cb, &from_clipboard_done, term);