Pass which clipboard is set through to the terminal, from Axel Lindskog

in GitHub issue 4858.
This commit is contained in:
nicm
2026-02-18 09:10:31 +00:00
parent fedd4440f0
commit 03f8690f9c
5 changed files with 39 additions and 27 deletions

3
tmux.h
View File

@@ -1114,6 +1114,7 @@ struct input_request_palette_data {
struct input_request_clipboard_data {
char *buf;
size_t len;
char clip;
};
/* Request sent to client on behalf of pane. */
@@ -3021,7 +3022,7 @@ void input_parse_buffer(struct window_pane *, u_char *, size_t);
void input_parse_screen(struct input_ctx *, struct screen *,
screen_write_init_ctx_cb, void *, u_char *, size_t);
void input_reply_clipboard(struct bufferevent *, const char *, size_t,
const char *);
const char *, char);
void input_set_buffer_size(size_t);
void input_request_reply(struct client *, enum input_request_type, void *);
void input_cancel_requests(struct client *);