version 1.16, 2016/10/16 19:04:05 |
version 1.17, 2017/01/15 22:00:56 |
|
|
xasprintf(&expanded, "%%%u", wp->id); |
xasprintf(&expanded, "%%%u", wp->id); |
cmd = cmd_template_replace(template, expanded, 1); |
cmd = cmd_template_replace(template, expanded, 1); |
|
|
if (cmd_string_parse(cmd, &cmdlist, NULL, 0, &cause) != 0) { |
cmdlist = cmd_string_parse(cmd, NULL, 0, &cause); |
|
if (cmdlist == NULL) { |
if (cause != NULL) { |
if (cause != NULL) { |
new_item = cmdq_get_callback(cmd_display_panes_error, |
new_item = cmdq_get_callback(cmd_display_panes_error, |
cause); |
cause); |