version 1.6, 2009/09/21 14:46:47 |
version 1.7, 2009/11/13 19:53:29 |
|
|
const struct cmd_entry cmd_show_window_options_entry = { |
const struct cmd_entry cmd_show_window_options_entry = { |
"show-window-options", "showw", |
"show-window-options", "showw", |
"[-g] " CMD_TARGET_WINDOW_USAGE, |
"[-g] " CMD_TARGET_WINDOW_USAGE, |
0, CMD_CHFLAG('g'), |
0, "g", |
cmd_target_init, |
cmd_target_init, |
cmd_target_parse, |
cmd_target_parse, |
cmd_show_window_options_exec, |
cmd_show_window_options_exec, |
|
|
const struct set_option_entry *entry; |
const struct set_option_entry *entry; |
const char *optval; |
const char *optval; |
|
|
if (data->chflags & CMD_CHFLAG('g')) |
if (cmd_check_flag(data->chflags, 'g')) |
oo = &global_w_options; |
oo = &global_w_options; |
else { |
else { |
if ((wl = cmd_find_window(ctx, data->target, NULL)) == NULL) |
if ((wl = cmd_find_window(ctx, data->target, NULL)) == NULL) |