diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-18 11:47:14 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-18 11:47:14 +0100 |
commit | 58d1a206c6ae6b33059ea6b469c21dad92ea0841 (patch) | |
tree | 7a27d44d3631833c77536a700e509d5e08fbb562 /tmux.h | |
parent | e0c982c5adf54fcfc7c6e588b1350fd8ae474310 (diff) | |
download | rtmux-58d1a206c6ae6b33059ea6b469c21dad92ea0841.tar.gz rtmux-58d1a206c6ae6b33059ea6b469c21dad92ea0841.tar.bz2 rtmux-58d1a206c6ae6b33059ea6b469c21dad92ea0841.zip |
Add a way for lines added to copy mode to be passed through the parser to
handle escape sequences and use it for run-shell, GitHub issue 3156.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3085,8 +3085,9 @@ extern const struct window_mode window_client_mode; /* window-copy.c */ extern const struct window_mode window_copy_mode; extern const struct window_mode window_view_mode; -void printflike(2, 3) window_copy_add(struct window_pane *, const char *, ...); -void printflike(2, 0) window_copy_vadd(struct window_pane *, const char *, +void printflike(3, 4) window_copy_add(struct window_pane *, int, const char *, + ...); +void printflike(3, 0) window_copy_vadd(struct window_pane *, int, const char *, va_list); void window_copy_pageup(struct window_pane *, int); void window_copy_start_drag(struct client *, struct mouse_event *); |