# window_pane_input_callback

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

```c
static void window_pane_input_callback(struct client *c, const char *path, int error, int closed, struct evbuffer *buffer, void *data)
```

## Parameters

- `c` (`struct client *`)
- `path` (`const char *`)
- `error` (`int`)
- `closed` (`int`)
- `buffer` (`struct evbuffer *`)
- `data` (`void *`)

## Calls

- [`cmdq_continue`](/en/tmux/latest/reference/c-function-cmdq_continue/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1807)
- [`file_cancel`](/en/tmux/latest/reference/c-function-file_cancel/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1805)
- [`input_parse_buffer`](/en/tmux/latest/reference/c-function-input_parse_buffer/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1811)
- [`server_client_unref`](/en/tmux/latest/reference/c-function-server_client_unref/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1808)
- [`window_pane_find_by_id`](/en/tmux/latest/reference/c-function-window_pane_find_by_id/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1799)

## Referenced by

- [`window_pane_start_input`](/en/tmux/latest/reference/c-function-window_pane_start_input/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/latest/reference/c-define-compat-h-__unused/) (constant)
- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`CLIENT_DEAD`](/en/tmux/latest/reference/c-define-tmux-h-client_dead/) (constant)
- [`CLIENT_EXIT`](/en/tmux/latest/reference/c-define-tmux-h-client_exit/) (constant)
- [`window_pane_input_data.file`](/en/tmux/latest/reference/c-struct-window_pane_input_data-file/) (attribute)
- [`client.flags`](/en/tmux/latest/reference/c-struct-client-flags/) (attribute)
- [`window_pane_input_data.item`](/en/tmux/latest/reference/c-struct-window_pane_input_data-item/) (attribute)
- [`client.retval`](/en/tmux/latest/reference/c-struct-client-retval/) (attribute)
- [`window_pane_input_data.wp`](/en/tmux/latest/reference/c-struct-window_pane_input_data-wp/) (attribute)
