version 1.58, 2020/04/13 14:46:04 |
version 1.59, 2020/04/13 20:51:57 |
|
|
const struct cmd_entry *entry = cmd_get_entry(self); |
const struct cmd_entry *entry = cmd_get_entry(self); |
struct cmd_find_state *current = cmdq_get_current(item); |
struct cmd_find_state *current = cmdq_get_current(item); |
struct cmd_find_state *target = cmdq_get_target(item); |
struct cmd_find_state *target = cmdq_get_target(item); |
struct client *c = cmd_find_client(item, NULL, 1); |
|
struct winlink *wl = target->wl; |
struct winlink *wl = target->wl; |
struct window *w = wl->window; |
struct window *w = wl->window; |
struct session *s = target->s; |
struct session *s = target->s; |
struct window_pane *wp = target->wp, *lastwp, *markedwp; |
struct window_pane *wp = target->wp, *lastwp, *markedwp; |
char *pane_title; |
char *title; |
const char *style; |
const char *style; |
struct style *sy; |
struct style *sy; |
struct options_entry *o; |
struct options_entry *o; |
|
|
} |
} |
|
|
if (args_has(args, 'T')) { |
if (args_has(args, 'T')) { |
pane_title = format_single(item, args_get(args, 'T'), |
title = format_single_from_target(item, args_get(args, 'T')); |
c, s, wl, wp); |
if (screen_set_title(&wp->base, title)) |
if (screen_set_title(&wp->base, pane_title)) |
|
server_status_window(wp->window); |
server_status_window(wp->window); |
free(pane_title); |
free(title); |
return (CMD_RETURN_NORMAL); |
return (CMD_RETURN_NORMAL); |
} |
} |
|
|