# status_prompt_redraw_quote

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L835
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-status-c-status_prompt_redraw_quote/

```c
static int status_prompt_redraw_quote(const struct client *c, u_int pcursor, struct screen_write_ctx *ctx, u_int offset, u_int pwidth, u_int *width, struct grid_cell *gc)
```

## Parameters

- `c` (`const struct client *`)
- `pcursor` (`u_int`)
- `ctx` (`struct screen_write_ctx *`)
- `offset` (`u_int`)
- `pwidth` (`u_int`)
- `width` (`u_int *`)
- `gc` (`struct grid_cell *`)

## Called by

- [`status_prompt_redraw`](/en/tmux/latest/reference/c-function-status_prompt_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L951)

## Calls

- [`status_prompt_redraw_character`](/en/tmux/latest/reference/c-function-status-c-status_prompt_redraw_character/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L843)
- [`utf8_set`](/en/tmux/latest/reference/c-function-utf8_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L842)

## Referenced declarations

- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`screen.cx`](/en/tmux/latest/reference/c-struct-screen-cx/) (attribute)
- [`grid_cell`](/en/tmux/latest/reference/c-struct-grid_cell/) (struct)
- [`client.prompt_flags`](/en/tmux/latest/reference/c-struct-client-prompt_flags/) (attribute)
- [`PROMPT_QUOTENEXT`](/en/tmux/latest/reference/c-define-tmux-h-prompt_quotenext/) (constant)
- [`screen_write_ctx.s`](/en/tmux/latest/reference/c-struct-screen_write_ctx-s/) (attribute)
- [`screen_write_ctx`](/en/tmux/latest/reference/c-struct-screen_write_ctx/) (struct)
- [`utf8_data.width`](/en/tmux/latest/reference/c-struct-utf8_data-width/) (attribute)
