# format_merge

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L3789
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-format_merge/

```c
void format_merge(struct format_tree *ft, struct format_tree *from)
```

## Parameters

- `ft` (`struct format_tree *`)
- `from` (`struct format_tree *`)

## Called by

- [`cmdq_add_formats`](/en/tmux/3.7c/reference/c-function-cmdq_add_formats/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L282)
- [`cmdq_merge_formats`](/en/tmux/3.7c/reference/c-function-cmdq_merge_formats/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L296)

## Calls

- [`format_add`](/en/tmux/3.7c/reference/c-function-format_add/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L3795)

## Referenced declarations

- [`format_tree`](/en/tmux/3.7c/reference/c-struct-format_tree/) (struct)
- [`format_entry.key`](/en/tmux/3.7c/reference/c-struct-format_entry-key/) (attribute)
- [`format_tree.tree`](/en/tmux/3.7c/reference/c-struct-format_tree-tree/) (attribute)
- [`format_entry.value`](/en/tmux/3.7c/reference/c-struct-format_entry-value/) (attribute)
