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.
This commit is contained in:
Nicholas Marriott
2009-08-31 20:46:19 +00:00
parent 8102ec3be5
commit 04319964b9
13 changed files with 179 additions and 6 deletions

8
tmux.h
View File

@ -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 *);