diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-04 00:02:10 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-04 00:02:10 +0000 |
commit | 815815989a103cda0d88fa0670b774b1e3530509 (patch) | |
tree | 0cac62ac40cd80d30e5dec2ed61877b43bdb7944 /tmux.h | |
parent | 7ba01f68437e43538da1c7be96140709ddb00d77 (diff) | |
download | rtmux-815815989a103cda0d88fa0670b774b1e3530509.tar.gz rtmux-815815989a103cda0d88fa0670b774b1e3530509.tar.bz2 rtmux-815815989a103cda0d88fa0670b774b1e3530509.zip |
Next/last/previous window, some other tweaks.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 26 |
1 files changed, 16 insertions, 10 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.39 2007-10-03 23:32:26 nicm Exp $ */ +/* $Id: tmux.h,v 1.40 2007-10-04 00:02:10 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -458,9 +458,12 @@ struct client_ctx { /* Key/command line command. */ enum cmd_type { CMD_DETACHSESSION, + CMD_LASTWINDOW, CMD_LISTSESSIONS, CMD_NEWSESSION, CMD_NEWWINDOW, + CMD_NEXTWINDOW, + CMD_PREVIOUSWINDOW, }; struct cmd_ctx { @@ -523,9 +526,12 @@ void cmd_free(struct cmd *); void cmd_send_string(struct buffer *, const char *); char *cmd_recv_string(struct buffer *); extern const struct cmd_entry cmd_detach_session_entry; +extern const struct cmd_entry cmd_last_window_entry; extern const struct cmd_entry cmd_list_sessions_entry; extern const struct cmd_entry cmd_new_session_entry; extern const struct cmd_entry cmd_new_window_entry; +extern const struct cmd_entry cmd_next_window_entry; +extern const struct cmd_entry cmd_previous_window_entry; /* bind.c */ const struct bind *cmdx_lookup_bind(const char *); @@ -568,17 +574,17 @@ int server_msg_dispatch(struct client *); /* server-fn.c */ struct session *server_find_sessid(struct sessid *, char **); -void server_write_error(struct client *, const char *, ...); -void server_write_message(struct client *, const char *, ...); void server_write_client( struct client *, enum hdrtype, const void *, size_t); -void server_write_client2(struct client *, - enum hdrtype, const void *, size_t, const void *, size_t); -void server_write_clients( - struct window *, enum hdrtype, const void *, size_t); -void server_window_changed(struct client *); -void server_draw_client(struct client *); -void server_draw_status(struct client *); +void server_write_session( + struct session *, enum hdrtype, const void *, size_t); +void server_write_window( + struct window *, enum hdrtype, const void *, size_t); +void server_redraw_status(struct client *); +void server_redraw_client(struct client *); +void server_redraw_session(struct session *); +void server_redraw_window(struct window *); +void server_write_message(struct client *, const char *, ...); /* status.c */ void status_write(struct client *c); |