# input_parse_buffer

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

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

## Parameters

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

## Called by

- [`input_parse_pane`](/en/tmux/latest/reference/c-function-input_parse_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1020)
- [`window_pane_input_callback`](/en/tmux/latest/reference/c-function-window-c-window_pane_input_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1811)

## Calls

- [`input_parse`](/en/tmux/latest/reference/c-function-input-c-input_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1050)
- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1047)
- [`screen_write_start`](/en/tmux/latest/reference/c-function-screen_write_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1045)
- [`screen_write_start_pane`](/en/tmux/latest/reference/c-function-screen_write_start_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1043)
- [`screen_write_stop`](/en/tmux/latest/reference/c-function-screen_write_stop/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1051)
- [`window_update_activity`](/en/tmux/latest/reference/c-function-window_update_activity/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1034)

## Referenced declarations

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