# input_clear

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

```c
static void input_clear(struct input_ctx *)
```

## Parameters

- `ictx` (`struct input_ctx *`)

## Called by

- [`input_enter_apc`](/en/tmux/3.7c/reference/c-function-input-c-input_enter_apc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2764)
- [`input_enter_dcs`](/en/tmux/3.7c/reference/c-function-input-c-input_enter_dcs/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2524)
- [`input_enter_osc`](/en/tmux/3.7c/reference/c-function-input-c-input_enter_osc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2669)
- [`input_enter_rename`](/en/tmux/3.7c/reference/c-function-input-c-input_enter_rename/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2795)
- [`input_reset`](/en/tmux/3.7c/reference/c-function-input_reset/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L929)

## Referenced by

- [`input_state_csi_enter`](/en/tmux/3.7c/reference/c-variable-input-c-input_state_csi_enter/) (attribute)
- [`input_state_esc_enter`](/en/tmux/3.7c/reference/c-variable-input-c-input_state_esc_enter/) (attribute)

## Referenced declarations

- [`input_ctx.flags`](/en/tmux/3.7c/reference/c-struct-input_ctx-flags/) (attribute)
- [`input_ctx.ground_timer`](/en/tmux/3.7c/reference/c-struct-input_ctx-ground_timer/) (attribute)
- [`input_request.ictx`](/en/tmux/3.7c/reference/c-struct-input_request-ictx/) (attribute)
- [`input_ctx.input_buf`](/en/tmux/3.7c/reference/c-struct-input_ctx-input_buf/) (attribute)
- [`input_ctx`](/en/tmux/3.7c/reference/c-struct-input_ctx/) (struct)
- [`INPUT_DISCARD`](/en/tmux/3.7c/reference/c-define-input-c-input_discard/) (constant)
- [`input_ctx.input_end`](/en/tmux/3.7c/reference/c-struct-input_ctx-input_end/) (attribute)
- [`INPUT_END_ST`](/en/tmux/3.7c/reference/c-enum-input_end_type-input_end_st/) (constant)
- [`input_ctx.input_len`](/en/tmux/3.7c/reference/c-struct-input_ctx-input_len/) (attribute)
- [`input_ctx.interm_buf`](/en/tmux/3.7c/reference/c-struct-input_ctx-interm_buf/) (attribute)
- [`input_ctx.interm_len`](/en/tmux/3.7c/reference/c-struct-input_ctx-interm_len/) (attribute)
- [`input_ctx.param_buf`](/en/tmux/3.7c/reference/c-struct-input_ctx-param_buf/) (attribute)
- [`input_ctx.param_len`](/en/tmux/3.7c/reference/c-struct-input_ctx-param_len/) (attribute)
