mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Options to set the colour of the pane borders, with different colours for the
active pane.
This commit is contained in:
15
server-fn.c
15
server-fn.c
@ -164,6 +164,21 @@ server_redraw_window(struct window *w)
|
||||
w->flags |= WINDOW_REDRAW;
|
||||
}
|
||||
|
||||
void
|
||||
server_redraw_window_borders(struct window *w)
|
||||
{
|
||||
struct client *c;
|
||||
u_int i;
|
||||
|
||||
for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
|
||||
c = ARRAY_ITEM(&clients, i);
|
||||
if (c == NULL || c->session == NULL)
|
||||
continue;
|
||||
if (c->session->curw->window == w)
|
||||
c->flags |= CLIENT_BORDERS;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
server_status_window(struct window *w)
|
||||
{
|
||||
|
Reference in New Issue
Block a user