diff options
author | nicm <nicm> | 2022-06-09 09:12:55 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-06-09 09:12:55 +0000 |
commit | ccc9dc3bb49ac258c856d8478346b4ce829b188e (patch) | |
tree | 308120cf8fd067226d532f57964b05b096c206f9 /tmux.h | |
parent | c07d582e2476db075252998388305f11302a8b23 (diff) | |
download | rtmux-ccc9dc3bb49ac258c856d8478346b4ce829b188e.tar.gz rtmux-ccc9dc3bb49ac258c856d8478346b4ce829b188e.tar.bz2 rtmux-ccc9dc3bb49ac258c856d8478346b4ce829b188e.zip |
If an application gives the first parameter to OSC 52, validate and pass
on to outside terminal. GitHub issue 3192.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1421,6 +1421,7 @@ struct tty_ctx { u_int num; void *ptr; + void *ptr2; /* * Cursor and region position before the screen was updated - this is @@ -2278,7 +2279,7 @@ int tty_open(struct tty *, char **); void tty_close(struct tty *); void tty_free(struct tty *); void tty_update_features(struct tty *); -void tty_set_selection(struct tty *, const char *, size_t); +void tty_set_selection(struct tty *, const char *, const char *, size_t); void tty_write(void (*)(struct tty *, const struct tty_ctx *), struct tty_ctx *); void tty_cmd_alignmenttest(struct tty *, const struct tty_ctx *); @@ -2872,7 +2873,8 @@ void screen_write_collect_end(struct screen_write_ctx *); void screen_write_collect_add(struct screen_write_ctx *, const struct grid_cell *); void screen_write_cell(struct screen_write_ctx *, const struct grid_cell *); -void screen_write_setselection(struct screen_write_ctx *, u_char *, u_int); +void screen_write_setselection(struct screen_write_ctx *, const char *, + u_char *, u_int); void screen_write_rawstring(struct screen_write_ctx *, u_char *, u_int); void screen_write_alternateon(struct screen_write_ctx *, struct grid_cell *, int); |