Sync OpenBSD patchset 1162:

Use a separate define for each default format template and strip clutter
from the choose-tree defaults.
This commit is contained in:
Tiago Cunha
2012-08-31 09:18:50 +00:00
parent d50f157f7e
commit 1c608031b5
13 changed files with 66 additions and 30 deletions

View File

@ -139,7 +139,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_ctx *ctx)
if (args_has(args, 'P')) {
if ((template = args_get(args, 'F')) == NULL)
template = DEFAULT_PANE_INFO_TEMPLATE;
template = SPLIT_WINDOW_TEMPLATE;
ft = format_create();
if ((c = cmd_find_client(ctx, NULL)) != NULL)