Make the mouse_word and mouse_line formats work in copy mode and enable

the default pane menu in copy mode.
This commit is contained in:
nicm
2020-03-20 17:59:39 +00:00
parent 7bbca49395
commit 06c3079d66
6 changed files with 62 additions and 17 deletions

2
tmux.h
View File

@ -2636,6 +2636,8 @@ void printflike(2, 3) window_copy_add(struct window_pane *, const char *, ...);
void window_copy_vadd(struct window_pane *, const char *, va_list);
void window_copy_pageup(struct window_pane *, int);
void window_copy_start_drag(struct client *, struct mouse_event *);
char *window_copy_get_word(struct window_pane *, u_int, u_int);
char *window_copy_get_line(struct window_pane *, u_int);
/* names.c */
void check_window_name(struct window *);