# input_parse_buffer

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

```c
void input_parse_buffer(struct window_pane *wp, u_char *buf, size_t len)
```

## Parameters

- `wp` (`struct window_pane *`)
- `buf` (`u_char *`)
- `len` (`size_t`)

## Called by

- [`input_parse_pane`](/en/tmux/3.2a/reference/c-function-input_parse_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/input.c#L951)
- [`window_pane_input_callback`](/en/tmux/3.2a/reference/c-function-window-c-window_pane_input_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L1544)

## Calls

- [`input_parse`](/en/tmux/3.2a/reference/c-function-input-c-input_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/input.c#L977)
- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/input.c#L974)
- [`screen_write_start`](/en/tmux/3.2a/reference/c-function-screen_write_start/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/input.c#L972)
- [`screen_write_start_pane`](/en/tmux/3.2a/reference/c-function-screen_write_start_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/input.c#L970)
- [`screen_write_stop`](/en/tmux/3.2a/reference/c-function-screen_write_stop/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/input.c#L978)
- [`window_update_activity`](/en/tmux/3.2a/reference/c-function-window_update_activity/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/input.c#L965)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

- [`window_pane.base`](/en/tmux/3.2a/reference/c-struct-window_pane-base/) (attribute)
- [`input_ctx.ctx`](/en/tmux/3.2a/reference/c-struct-input_ctx-ctx/) (attribute)
- [`window_pane.flags`](/en/tmux/3.2a/reference/c-struct-window_pane-flags/) (attribute)
- [`window_pane.ictx`](/en/tmux/3.2a/reference/c-struct-window_pane-ictx/) (attribute)
- [`window_pane.id`](/en/tmux/3.2a/reference/c-struct-window_pane-id/) (attribute)
- [`window_pane.modes`](/en/tmux/3.2a/reference/c-struct-window_pane-modes/) (attribute)
- [`input_state.name`](/en/tmux/3.2a/reference/c-struct-input_state-name/) (attribute)
- [`PANE_CHANGED`](/en/tmux/3.2a/reference/c-define-tmux-h-pane_changed/) (constant)
- [`input_ctx.state`](/en/tmux/3.2a/reference/c-struct-input_ctx-state/) (attribute)
- [`window_pane.window`](/en/tmux/3.2a/reference/c-struct-window_pane-window/) (attribute)
- [`window_pane`](/en/tmux/3.2a/reference/c-struct-window_pane/) (struct)
- [`input_ctx.wp`](/en/tmux/3.2a/reference/c-struct-input_ctx-wp/) (attribute)
- [`screen_write_ctx.wp`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx-wp/) (attribute)
