# input_get

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

```c
static int input_get(struct input_ctx *, u_int, int, int)
```

## Parameters

- `ictx` (`struct input_ctx *`)
- `validx` (`u_int`)
- `minval` (`int`)
- `defval` (`int`)

## Called by

- [`input_csi_dispatch`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1471)
- [`input_csi_dispatch_rm`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_rm/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1882)
- [`input_csi_dispatch_rm_private`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_rm_private/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1907)
- [`input_csi_dispatch_sgr`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_sgr/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2374)
- [`input_csi_dispatch_sgr_256`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_sgr_256/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2227)
- [`input_csi_dispatch_sgr_rgb`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_sgr_rgb/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2261)
- [`input_csi_dispatch_sm`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_sm/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1981)
- [`input_csi_dispatch_sm_graphics`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_sm_graphics/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2087)
- [`input_csi_dispatch_sm_private`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_sm_private/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2006)
- [`input_csi_dispatch_winops`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_winops/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2131)
- [`input_dcs_dispatch`](/en/tmux/3.7c/reference/c-function-input-c-input_dcs_dispatch/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2628)

## Referenced declarations

- [`input_ctx`](/en/tmux/3.7c/reference/c-struct-input_ctx/) (struct)
- [`INPUT_MISSING`](/en/tmux/3.7c/reference/c-struct-input_param-227070266377056172225315031204103175025075336041-input_missing/) (constant)
- [`INPUT_STRING`](/en/tmux/3.7c/reference/c-struct-input_param-227070266377056172225315031204103175025075336041-input_string/) (constant)
- [`input_ctx.param_list`](/en/tmux/3.7c/reference/c-struct-input_ctx-param_list/) (attribute)
- [`input_ctx.param_list_len`](/en/tmux/3.7c/reference/c-struct-input_ctx-param_list_len/) (attribute)
- [`input_param.type`](/en/tmux/3.7c/reference/c-struct-input_param-type/) (attribute)
