Need to redraw borders now when some things change. Also change default so that

the active border colour is different in a mode or with synchronize-panes on.
This commit is contained in:
Nicholas Marriott
2020-04-29 08:55:21 +01:00
parent 2d151d8ca5
commit 3d76748161
8 changed files with 23 additions and 8 deletions

View File

@ -193,8 +193,10 @@ cmd_select_pane_exec(struct cmd *self, struct cmdq_item *item)
if (args_has(args, 'T')) {
title = format_single_from_target(item, args_get(args, 'T'));
if (screen_set_title(&wp->base, title))
if (screen_set_title(&wp->base, title)) {
server_redraw_window_borders(wp->window);
server_status_window(wp->window);
}
free(title);
return (CMD_RETURN_NORMAL);
}