# input_reset

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

```c
void input_reset(struct input_ctx *ictx, int clear)
```

## Parameters

- `ictx` (`struct input_ctx *`)
- `clear` (`int`)

## Called by

- [`cmd_send_keys_exec`](/en/tmux/3.7c/reference/c-function-cmd-send-keys-c-cmd_send_keys_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-send-keys.c#L225)
- [`input_ground_timer_callback`](/en/tmux/3.7c/reference/c-function-input-c-input_ground_timer_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L805)
- [`input_init`](/en/tmux/3.7c/reference/c-function-input_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L882)

## Calls

- [`input_clear`](/en/tmux/3.7c/reference/c-function-input-c-input_clear/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L929)
- [`input_reset_cell`](/en/tmux/3.7c/reference/c-function-input-c-input_reset_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L918)
- [`screen_write_reset`](/en/tmux/3.7c/reference/c-function-screen_write_reset/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L925)
- [`screen_write_start`](/en/tmux/3.7c/reference/c-function-screen_write_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L924)
- [`screen_write_start_pane`](/en/tmux/3.7c/reference/c-function-screen_write_start_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L922)
- [`screen_write_stop`](/en/tmux/3.7c/reference/c-function-screen_write_stop/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L926)

## Referenced declarations

- [`window_pane.base`](/en/tmux/3.7c/reference/c-struct-window_pane-base/) (attribute)
- [`input_ctx.ctx`](/en/tmux/3.7c/reference/c-struct-input_ctx-ctx/) (attribute)
- [`input_ctx.flags`](/en/tmux/3.7c/reference/c-struct-input_ctx-flags/) (attribute)
- [`window_pane.ictx`](/en/tmux/3.7c/reference/c-struct-window_pane-ictx/) (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)
- [`window_pane.modes`](/en/tmux/3.7c/reference/c-struct-window_pane-modes/) (attribute)
- [`input_ctx.state`](/en/tmux/3.7c/reference/c-struct-input_ctx-state/) (attribute)
- [`input_ctx.wp`](/en/tmux/3.7c/reference/c-struct-input_ctx-wp/) (attribute)
