mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
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:
19
tmux.h
19
tmux.h
@ -2024,6 +2024,7 @@ struct tmuxpeer *proc_add_peer(struct tmuxproc *, int,
|
||||
void (*)(struct imsg *, void *), void *);
|
||||
void proc_remove_peer(struct tmuxpeer *);
|
||||
void proc_kill_peer(struct tmuxpeer *);
|
||||
void proc_flush_peer(struct tmuxpeer *);
|
||||
void proc_toggle_log(struct tmuxproc *);
|
||||
pid_t proc_fork_and_daemon(int *);
|
||||
uid_t proc_get_peer_uid(struct tmuxpeer *);
|
||||
@ -3017,7 +3018,7 @@ void layout_spread_out(struct window_pane *);
|
||||
|
||||
/* layout-custom.c */
|
||||
char *layout_dump(struct layout_cell *);
|
||||
int layout_parse(struct window *, const char *);
|
||||
int layout_parse(struct window *, const char *, char **);
|
||||
|
||||
/* layout-set.c */
|
||||
int layout_set_lookup(const char *);
|
||||
@ -3082,8 +3083,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 *);
|
||||
@ -3266,4 +3268,15 @@ struct window_pane *spawn_pane(struct spawn_context *, char **);
|
||||
/* regsub.c */
|
||||
char *regsub(const char *, const char *, const char *, int);
|
||||
|
||||
/* server-acl.c */
|
||||
void server_acl_init(void);
|
||||
struct server_acl_user *server_acl_user_find(uid_t);
|
||||
void server_acl_display(struct cmdq_item *);
|
||||
void server_acl_user_allow(uid_t);
|
||||
void server_acl_user_deny(uid_t);
|
||||
void server_acl_user_allow_write(uid_t);
|
||||
void server_acl_user_deny_write(uid_t);
|
||||
int server_acl_join(struct client *);
|
||||
uid_t server_acl_get_uid(struct server_acl_user *);
|
||||
|
||||
#endif /* TMUX_H */
|
||||
|
Reference in New Issue
Block a user