# screen_write_rawstring

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L2877
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-screen_write_rawstring/

```c
void screen_write_rawstring(struct screen_write_ctx *ctx, u_char *str, u_int len, int allow_invisible_panes)
```

## Parameters

- `ctx` (`struct screen_write_ctx *`)
- `str` (`u_char *`)
- `len` (`u_int`)
- `allow_invisible_panes` (`int`)

## Called by

- [`input_dcs_dispatch`](/en/tmux/latest/reference/c-function-input-c-input_dcs_dispatch/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2656)

## Calls

- [`screen_write_initctx`](/en/tmux/latest/reference/c-function-screen-write-c-screen_write_initctx/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L2882)
- [`tty_write`](/en/tmux/latest/reference/c-function-tty_write/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L2888)

## Other function references

- [`tty_cmd_rawstring`](/en/tmux/latest/reference/c-function-tty_cmd_rawstring/) (function)

## Referenced declarations

- [`tty_ctx.flags`](/en/tmux/latest/reference/c-struct-tty_ctx-flags/) (attribute)
- [`screen_write_ctx`](/en/tmux/latest/reference/c-struct-screen_write_ctx/) (struct)
- [`TTY_CTX_INVISIBLE_PANES`](/en/tmux/latest/reference/c-define-tmux-h-tty_ctx_invisible_panes/) (constant)
