diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-08-31 22:30:15 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-08-31 22:30:15 +0000 |
commit | ed3535db8a5dac03cab96f7fc220b99095423fd0 (patch) | |
tree | edbf02a4b364a56d0d58b1665fdca029acb1bd61 /tmux.h | |
parent | 2fe369831ce005827ff10dafe80532ff18c57641 (diff) | |
download | rtmux-ed3535db8a5dac03cab96f7fc220b99095423fd0.tar.gz rtmux-ed3535db8a5dac03cab96f7fc220b99095423fd0.tar.bz2 rtmux-ed3535db8a5dac03cab96f7fc220b99095423fd0.zip |
Sync OpenBSD patchset 302:
Add a new display-panes command, with two options (display-panes-colour and
display-panes-time), which displays a visual indication of the number of each
pane.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.429 2009-08-25 13:53:39 tcunha Exp $ */ +/* $Id: tmux.h,v 1.430 2009-08-31 22:30:15 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -933,8 +933,11 @@ struct client { #define CLIENT_REPEAT 0x20 /* allow command to repeat within repeat time */ #define CLIENT_SUSPENDED 0x40 #define CLIENT_BAD 0x80 +#define CLIENT_IDENTIFY 0x100 int flags; + struct timeval identify_timer; + char *message_string; struct timeval message_timer; @@ -1162,6 +1165,7 @@ void environ_update(const char *, struct environ *, struct environ *); /* tty.c */ u_char tty_get_acs(struct tty *, u_char); +void tty_attributes(struct tty *, const struct grid_cell *); void tty_reset(struct tty *); void tty_region(struct tty *, u_int, u_int, u_int); void tty_cursor(struct tty *, u_int, u_int, u_int, u_int); @@ -1247,6 +1251,7 @@ void paste_add(struct paste_stack *, char *, u_int); int paste_replace(struct paste_stack *, u_int, char *); /* clock.c */ +extern const char clock_table[14][5][5]; void clock_draw(struct screen_write_ctx *, u_int, int); /* cmd.c */ @@ -1283,6 +1288,7 @@ extern const struct cmd_entry cmd_copy_mode_entry; extern const struct cmd_entry cmd_delete_buffer_entry; extern const struct cmd_entry cmd_detach_client_entry; extern const struct cmd_entry cmd_display_message_entry; +extern const struct cmd_entry cmd_display_panes_entry; extern const struct cmd_entry cmd_down_pane_entry; extern const struct cmd_entry cmd_find_window_entry; extern const struct cmd_entry cmd_has_session_entry; @@ -1433,6 +1439,8 @@ void server_status_window(struct window *); void server_lock(void); int server_unlock(const char *); void server_kill_window(struct window *); +void server_set_identify(struct client *); +void server_clear_identify(struct client *); /* status.c */ int status_redraw(struct client *); |