diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-08-31 20:46:20 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-08-31 20:46:20 +0000 |
commit | b3d19f3bfd39a96bc976abf38ce158e212394563 (patch) | |
tree | 8f5dfd575b04d6eb71ec090fb8389cfb2c53f77c /usr.bin/tmux/tmux.h | |
parent | 6d6be4848445d3989ec1d654b09cd35891f1e71e (diff) |
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 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index b3f59c15bee..356c8b9dbc1 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.91 2009/08/25 12:18:51 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.92 2009/08/31 20:46:19 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -935,8 +935,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; @@ -1164,6 +1167,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); @@ -1249,6 +1253,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 */ @@ -1285,6 +1290,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; @@ -1435,6 +1441,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 *); |