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.
This commit is contained in:
Nicholas Marriott
2022-04-18 11:47:14 +01:00
parent e0c982c5ad
commit 58d1a206c6
6 changed files with 66 additions and 29 deletions

5
tmux.h
View File

@ -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 *);