# format_is_word_separator

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

```c
static int format_is_word_separator(const char *ws, const struct grid_cell *gc)
```

## Parameters

- `ws` (`const char *`)
- `gc` (`const struct grid_cell *`)

## Called by

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

## Calls

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

## Referenced declarations

- [`grid_cell.data`](/en/tmux/3.7c/reference/c-struct-grid_cell-data/) (attribute)
- [`utf8_data.data`](/en/tmux/3.7c/reference/c-struct-utf8_data-data/) (attribute)
- [`grid_cell.flags`](/en/tmux/3.7c/reference/c-struct-grid_cell-flags/) (attribute)
- [`grid_cell`](/en/tmux/3.7c/reference/c-struct-grid_cell/) (struct)
- [`GRID_FLAG_TAB`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_flag_tab/) (constant)
- [`utf8_data.size`](/en/tmux/3.7c/reference/c-struct-utf8_data-size/) (attribute)
