# input_key_write

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

```c
static void input_key_write(const char *from, struct bufferevent *bev, const char *data, size_t size)
```

## Parameters

- `from` (`const char *`)
- `bev` (`struct bufferevent *`)
- `data` (`const char *`)
- `size` (`size_t`)

## Called by

- [`input_key`](/en/tmux/3.7c/reference/c-function-input_key/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input-keys.c#L587)
- [`input_key_extended`](/en/tmux/3.7c/reference/c-function-input-keys-c-input_key_extended/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input-keys.c#L472)
- [`input_key_mouse`](/en/tmux/3.7c/reference/c-function-input-keys-c-input_key_mouse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input-keys.c#L814)
- [`input_key_vt10x`](/en/tmux/3.7c/reference/c-function-input-keys-c-input_key_vt10x/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input-keys.c#L495)

## Calls

- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input-keys.c#L417)

## Referenced declarations

- [`input_key_entry.data`](/en/tmux/3.7c/reference/c-struct-input_key_entry-data/) (attribute)
