# input_osc_4

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

```c
static void input_osc_4(struct input_ctx *, const char *)
```

## Parameters

- `ictx` (`struct input_ctx *`)
- `p` (`const char *`)

## Called by

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

## Calls

- [`colour_palette_set`](/en/tmux/3.7c/reference/c-function-colour_palette_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2941)
- [`input_add_request`](/en/tmux/3.7c/reference/c-function-input-c-input_add_request/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2933)
- [`input_osc_colour_reply`](/en/tmux/3.7c/reference/c-function-input-c-input_osc_colour_reply/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2928)
- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2946)
- [`screen_write_fullredraw`](/en/tmux/3.7c/reference/c-function-screen_write_fullredraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2948)
- [`xstrdup`](/en/tmux/3.7c/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2912)

## Other function references

- [`colour_palette_get`](/en/tmux/3.7c/reference/c-function-colour_palette_get/) (function)
- [`colour_parseX11`](/en/tmux/3.7c/reference/c-function-colour_parsex11/) (function)

## Referenced declarations

- [`COLOUR_FLAG_256`](/en/tmux/3.7c/reference/c-define-tmux-h-colour_flag_256/) (constant)
- [`input_ctx.ctx`](/en/tmux/3.7c/reference/c-struct-input_ctx-ctx/) (attribute)
- [`input_ctx`](/en/tmux/3.7c/reference/c-struct-input_ctx/) (struct)
- [`input_ctx.input_end`](/en/tmux/3.7c/reference/c-struct-input_ctx-input_end/) (attribute)
- [`INPUT_REQUEST_PALETTE`](/en/tmux/3.7c/reference/c-enum-input_request_type-input_request_palette/) (constant)
- [`colour_palette.palette`](/en/tmux/3.7c/reference/c-struct-colour_palette-palette/) (attribute)
- [`input_ctx.palette`](/en/tmux/3.7c/reference/c-struct-input_ctx-palette/) (attribute)
