# format_cb_history_bytes

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format.c#L844
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-format-c-format_cb_history_bytes/

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

## Parameters

- `ft` (`struct format_tree *`)

## Calls

- [`grid_get_line`](/en/tmux/3.2a/reference/c-function-grid_get_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format.c#L858)
- [`xasprintf`](/en/tmux/3.2a/reference/c-function-xasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format.c#L864)

## Referenced declarations

- [`window_pane.base`](/en/tmux/3.2a/reference/c-struct-window_pane-base/) (attribute)
- [`grid_line.celldata`](/en/tmux/3.2a/reference/c-struct-grid_line-celldata/) (attribute)
- [`grid_line.cellsize`](/en/tmux/3.2a/reference/c-struct-grid_line-cellsize/) (attribute)
- [`grid_line.extddata`](/en/tmux/3.2a/reference/c-struct-grid_line-extddata/) (attribute)
- [`grid_line.extdsize`](/en/tmux/3.2a/reference/c-struct-grid_line-extdsize/) (attribute)
- [`format_tree`](/en/tmux/3.2a/reference/c-struct-format_tree/) (struct)
- [`screen.grid`](/en/tmux/3.2a/reference/c-struct-screen-grid/) (attribute)
- [`grid.hsize`](/en/tmux/3.2a/reference/c-struct-grid-hsize/) (attribute)
- [`grid.sy`](/en/tmux/3.2a/reference/c-struct-grid-sy/) (attribute)
- [`format_tree.wp`](/en/tmux/3.2a/reference/c-struct-format_tree-wp/) (attribute)
