# format_cb_bracket_paste_flag

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

```c
static void * format_cb_bracket_paste_flag(struct format_tree *ft)
```

## Parameters

- `ft` (`struct format_tree *`)

## Calls

- [`xstrdup`](/en/tmux/latest/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1408)

## Referenced declarations

- [`format_tree`](/en/tmux/latest/reference/c-struct-format_tree/) (struct)
- [`screen.mode`](/en/tmux/latest/reference/c-struct-screen-mode/) (attribute)
- [`MODE_BRACKETPASTE`](/en/tmux/latest/reference/c-define-tmux-h-mode_bracketpaste/) (constant)
- [`window_pane.screen`](/en/tmux/latest/reference/c-struct-window_pane-screen/) (attribute)
- [`format_tree.wp`](/en/tmux/latest/reference/c-struct-format_tree-wp/) (attribute)
