# status_prompt_area

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

```c
static void status_prompt_area(struct client *c, u_int *area_x, u_int *area_w)
```

## Parameters

- `c` (`struct client *`)
- `area_x` (`u_int *`)
- `area_w` (`u_int *`)

## Called by

- [`status_message_redraw`](/en/tmux/3.7c/reference/c-function-status_message_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L630)
- [`status_prompt_complete_list_menu`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_complete_list_menu/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L1997)
- [`status_prompt_complete_window_menu`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_complete_window_menu/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L2095)
- [`status_prompt_redraw`](/en/tmux/3.7c/reference/c-function-status_prompt_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L898)

## Calls

- [`options_string_to_style`](/en/tmux/3.7c/reference/c-function-options_string_to_style/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L549)

## Referenced declarations

- [`style.align`](/en/tmux/3.7c/reference/c-struct-style-align/) (attribute)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`session.options`](/en/tmux/3.7c/reference/c-struct-session-options/) (attribute)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
- [`STYLE_ALIGN_ABSOLUTE_CENTRE`](/en/tmux/3.7c/reference/c-enum-style_align-style_align_absolute_centre/) (constant)
- [`STYLE_ALIGN_CENTRE`](/en/tmux/3.7c/reference/c-enum-style_align-style_align_centre/) (constant)
- [`STYLE_ALIGN_RIGHT`](/en/tmux/3.7c/reference/c-enum-style_align-style_align_right/) (constant)
- [`tty.sx`](/en/tmux/3.7c/reference/c-struct-tty-sx/) (attribute)
- [`client.tty`](/en/tmux/3.7c/reference/c-struct-client-tty/) (attribute)
- [`style.width`](/en/tmux/3.7c/reference/c-struct-style-width/) (attribute)
- [`style.width_percentage`](/en/tmux/3.7c/reference/c-struct-style-width_percentage/) (attribute)
