From 24d7d073fffbf5137176ef474f13f4cfe1f032e9 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 27 Nov 2012 20:08:42 +0000 Subject: Support the 47 and 1047 SM and RM sequences (alternate screen without cursor), requested by I forget who ages ago. --- tmux.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 2b5f19d8..8549e142 100644 --- a/tmux.h +++ b/tmux.h @@ -2145,10 +2145,10 @@ int window_pane_spawn(struct window_pane *, const char *, const char *, const char *, struct environ *, struct termios *, char **); void window_pane_resize(struct window_pane *, u_int, u_int); -void window_pane_alternate_on( - struct window_pane *, struct grid_cell *); -void window_pane_alternate_off( - struct window_pane *, struct grid_cell *); +void window_pane_alternate_on(struct window_pane *, + struct grid_cell *, int); +void window_pane_alternate_off(struct window_pane *, + struct grid_cell *, int); int window_pane_set_mode( struct window_pane *, const struct window_mode *); void window_pane_reset_mode(struct window_pane *); -- cgit From 47c097cb51da9622180963af5391d142e7d4ade3 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 27 Nov 2012 20:22:12 +0000 Subject: Support middle-click paste, based on a diff from Ailin Nemui. --- tmux.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 8549e142..981d4f21 100644 --- a/tmux.h +++ b/tmux.h @@ -1682,8 +1682,8 @@ const char *tty_term_string2( struct tty_term *, enum tty_code_code, int, int); const char *tty_term_ptr1( struct tty_term *, enum tty_code_code, const void *); -const char *tty_term_ptr2( - struct tty_term *, enum tty_code_code, const void *, const void *); +const char *tty_term_ptr2(struct tty_term *, enum tty_code_code, + const void *, const void *); int tty_term_number(struct tty_term *, enum tty_code_code); int tty_term_flag(struct tty_term *, enum tty_code_code); @@ -1704,6 +1704,9 @@ int paste_free_index(struct paste_stack *, u_int); void paste_add(struct paste_stack *, char *, size_t, u_int); int paste_replace(struct paste_stack *, u_int, char *, size_t); char *paste_print(struct paste_buffer *, size_t); +void paste_send_pane(struct paste_buffer *, struct window_pane *, + const char *, int); + /* clock.c */ extern const char clock_table[14][5][5]; @@ -1906,7 +1909,7 @@ void server_unlink_window(struct session *, struct winlink *); void server_destroy_pane(struct window_pane *); void server_destroy_session_group(struct session *); void server_destroy_session(struct session *); -void server_check_unattached (void); +void server_check_unattached(void); void server_set_identify(struct client *); void server_clear_identify(struct client *); void server_update_event(struct client *); -- cgit