Add some formats for search in copy mode (search_present, search_match).

GitHub issue 2268.
This commit is contained in:
nicm
2020-06-11 19:43:34 +00:00
parent cf13d1e110
commit 63c2ed1483
4 changed files with 52 additions and 19 deletions

View File

@ -1156,6 +1156,13 @@ format_merge(struct format_tree *ft, struct format_tree *from)
}
}
/* Get format pane. */
struct window_pane *
format_get_pane(struct format_tree *ft)
{
return (ft->wp);
}
/* Add item bits to tree. */
static void
format_create_add_item(struct format_tree *ft, struct cmdq_item *item)