# input_parse

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

```c
static void input_parse(struct input_ctx *ictx, const u_char *buf, size_t len)
```

## Parameters

- `ictx` (`struct input_ctx *`)
- `buf` (`const u_char *`)
- `len` (`size_t`)

## Called by

- [`input_parse_buffer`](/en/tmux/3.7c/reference/c-function-input_parse_buffer/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1050)
- [`input_parse_screen`](/en/tmux/3.7c/reference/c-function-input_parse_screen/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1065)

## Calls

- [`fatalx`](/en/tmux/3.7c/reference/c-function-fatalx/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L980)
- [`input_set_state`](/en/tmux/3.7c/reference/c-function-input-c-input_set_state/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1004)
- [`screen_write_collect_end`](/en/tmux/3.7c/reference/c-function-screen_write_collect_end/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L993)

## Other function references

- [`input_print`](/en/tmux/3.7c/reference/c-function-input-c-input_print/) (function)

## Referenced declarations

- [`input_ctx.ch`](/en/tmux/3.7c/reference/c-struct-input_ctx-ch/) (attribute)
- [`input_ctx.ctx`](/en/tmux/3.7c/reference/c-struct-input_ctx-ctx/) (attribute)
- [`input_transition.first`](/en/tmux/3.7c/reference/c-struct-input_transition-first/) (attribute)
- [`input_transition.handler`](/en/tmux/3.7c/reference/c-struct-input_transition-handler/) (attribute)
- [`input_ctx`](/en/tmux/3.7c/reference/c-struct-input_ctx/) (struct)
- [`input_state_ground`](/en/tmux/3.7c/reference/c-variable-input-c-input_state_ground/) (attribute)
- [`input_transition.last`](/en/tmux/3.7c/reference/c-struct-input_transition-last/) (attribute)
- [`input_ctx.since_ground`](/en/tmux/3.7c/reference/c-struct-input_ctx-since_ground/) (attribute)
- [`input_ctx.state`](/en/tmux/3.7c/reference/c-struct-input_ctx-state/) (attribute)
- [`input_transition.state`](/en/tmux/3.7c/reference/c-struct-input_transition-state/) (attribute)
- [`input_state.transitions`](/en/tmux/3.7c/reference/c-struct-input_state-transitions/) (attribute)
