# input_csi_dispatch_sgr

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

```c
static void input_csi_dispatch_sgr(struct input_ctx *)
```

## Parameters

- `ictx` (`struct input_ctx *`)

## Called by

- [`input_csi_dispatch`](/en/tmux/latest/reference/c-function-input-c-input_csi_dispatch/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1808)

## Calls

- [`input_csi_dispatch_sgr_256`](/en/tmux/latest/reference/c-function-input-c-input_csi_dispatch_sgr_256/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2385)
- [`input_csi_dispatch_sgr_colon`](/en/tmux/latest/reference/c-function-input-c-input_csi_dispatch_sgr_colon/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2371)
- [`input_csi_dispatch_sgr_rgb`](/en/tmux/latest/reference/c-function-input-c-input_csi_dispatch_sgr_rgb/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2382)
- [`input_get`](/en/tmux/latest/reference/c-function-input-c-input_get/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2374)

## Referenced declarations

- [`grid_cell.attr`](/en/tmux/latest/reference/c-struct-grid_cell-attr/) (attribute)
- [`grid_cell.bg`](/en/tmux/latest/reference/c-struct-grid_cell-bg/) (attribute)
- [`input_cell.cell`](/en/tmux/latest/reference/c-struct-input_cell-cell/) (attribute)
- [`input_ctx.cell`](/en/tmux/latest/reference/c-struct-input_ctx-cell/) (attribute)
- [`grid_cell.fg`](/en/tmux/latest/reference/c-struct-grid_cell-fg/) (attribute)
- [`GRID_ATTR_ALL_UNDERSCORE`](/en/tmux/latest/reference/c-define-tmux-h-grid_attr_all_underscore/) (constant)
- [`GRID_ATTR_BLINK`](/en/tmux/latest/reference/c-define-tmux-h-grid_attr_blink/) (constant)
- [`GRID_ATTR_BRIGHT`](/en/tmux/latest/reference/c-define-tmux-h-grid_attr_bright/) (constant)
- [`GRID_ATTR_DIM`](/en/tmux/latest/reference/c-define-tmux-h-grid_attr_dim/) (constant)
- [`GRID_ATTR_HIDDEN`](/en/tmux/latest/reference/c-define-tmux-h-grid_attr_hidden/) (constant)
- [`GRID_ATTR_ITALICS`](/en/tmux/latest/reference/c-define-tmux-h-grid_attr_italics/) (constant)
- [`GRID_ATTR_OVERLINE`](/en/tmux/latest/reference/c-define-tmux-h-grid_attr_overline/) (constant)
- [`GRID_ATTR_REVERSE`](/en/tmux/latest/reference/c-define-tmux-h-grid_attr_reverse/) (constant)
- [`GRID_ATTR_STRIKETHROUGH`](/en/tmux/latest/reference/c-define-tmux-h-grid_attr_strikethrough/) (constant)
- [`GRID_ATTR_UNDERSCORE`](/en/tmux/latest/reference/c-define-tmux-h-grid_attr_underscore/) (constant)
- [`GRID_ATTR_UNDERSCORE_2`](/en/tmux/latest/reference/c-define-tmux-h-grid_attr_underscore_2/) (constant)
- [`grid_default_cell`](/en/tmux/latest/reference/c-variable-grid_default_cell/) (attribute)
- [`input_ctx`](/en/tmux/latest/reference/c-struct-input_ctx/) (struct)
- [`grid_cell.link`](/en/tmux/latest/reference/c-struct-grid_cell-link/) (attribute)
- [`input_ctx.param_list`](/en/tmux/latest/reference/c-struct-input_ctx-param_list/) (attribute)
- [`input_ctx.param_list_len`](/en/tmux/latest/reference/c-struct-input_ctx-param_list_len/) (attribute)
- [`input_param.type`](/en/tmux/latest/reference/c-struct-input_param-type/) (attribute)
- [`grid_cell.us`](/en/tmux/latest/reference/c-struct-grid_cell-us/) (attribute)
