# input_csi_dispatch_sgr_256_do

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

```c
static int input_csi_dispatch_sgr_256_do(struct input_ctx *ictx, int fgbg, int c)
```

## Parameters

- `ictx` (`struct input_ctx *`)
- `fgbg` (`int`)
- `c` (`int`)

## Called by

- [`input_csi_dispatch_sgr_256`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_sgr_256/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2228)
- [`input_csi_dispatch_sgr_colon`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_sgr_colon/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2351)

## Referenced declarations

- [`grid_cell.bg`](/en/tmux/3.7c/reference/c-struct-grid_cell-bg/) (attribute)
- [`input_cell.cell`](/en/tmux/3.7c/reference/c-struct-input_cell-cell/) (attribute)
- [`input_ctx.cell`](/en/tmux/3.7c/reference/c-struct-input_ctx-cell/) (attribute)
- [`COLOUR_FLAG_256`](/en/tmux/3.7c/reference/c-define-tmux-h-colour_flag_256/) (constant)
- [`grid_cell.fg`](/en/tmux/3.7c/reference/c-struct-grid_cell-fg/) (attribute)
- [`input_ctx`](/en/tmux/3.7c/reference/c-struct-input_ctx/) (struct)
- [`grid_cell.us`](/en/tmux/3.7c/reference/c-struct-grid_cell-us/) (attribute)
