# cmd_refresh_client_exec

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L195
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-cmd-refresh-client-c-cmd_refresh_client_exec/

tmux command: [`refresh-client`](/en/tmux/3.7c/manual/refresh-client/)

```c
static enum cmd_retval cmd_refresh_client_exec(struct cmd *, struct cmdq_item *)
```

## Parameters

- `self` (`struct cmd *`)
- `item` (`struct cmdq_item *`)

## Calls

- [`args_count`](/en/tmux/3.7c/reference/c-function-args_count/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L211)
- [`args_first_value`](/en/tmux/3.7c/reference/c-function-args_first_value/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L271)
- [`args_has`](/en/tmux/3.7c/reference/c-function-args_has/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L205)
- [`args_next_value`](/en/tmux/3.7c/reference/c-function-args_next_value/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L274)
- [`cmd_get_args`](/en/tmux/3.7c/reference/c-function-cmd_get_args/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L197)
- [`cmd_refresh_client_control_client_size`](/en/tmux/3.7c/reference/c-function-cmd-refresh-client-c-cmd_refresh_client_control_client_size/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L291)
- [`cmd_refresh_client_update_offset`](/en/tmux/3.7c/reference/c-function-cmd-refresh-client-c-cmd_refresh_client_update_offset/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L273)
- [`cmd_refresh_client_update_subscription`](/en/tmux/3.7c/reference/c-function-cmd-refresh-client-c-cmd_refresh_client_update_subscription/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L283)
- [`cmd_refresh_report`](/en/tmux/3.7c/reference/c-function-cmd-refresh-client-c-cmd_refresh_report/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L266)
- [`cmdq_error`](/en/tmux/3.7c/reference/c-function-cmdq_error/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L217)
- [`cmdq_get_target_client`](/en/tmux/3.7c/reference/c-function-cmdq_get_target_client/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L198)
- [`server_client_set_flags`](/en/tmux/3.7c/reference/c-function-server_client_set_flags/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L262)
- [`server_redraw_client`](/en/tmux/3.7c/reference/c-function-server_redraw_client/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L252)
- [`server_status_client`](/en/tmux/3.7c/reference/c-function-server_status_client/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L296)
- [`strtonum`](/en/tmux/3.7c/reference/c-function-strtonum/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L214)
- [`tty_clipboard_query`](/en/tmux/3.7c/reference/c-function-tty_clipboard_query/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L257)
- [`tty_update_client_offset`](/en/tmux/3.7c/reference/c-function-tty_update_client_offset/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L251)

## Other function references

- [`args_get`](/en/tmux/3.7c/reference/c-function-args_get/) (function)
- [`args_string`](/en/tmux/3.7c/reference/c-function-args_string/) (function)

## Referenced by

- [`cmd_refresh_client_entry`](/en/tmux/3.7c/reference/c-variable-cmd_refresh_client_entry/) (attribute)

## Referenced declarations

- [`CLIENT_CONTROL`](/en/tmux/3.7c/reference/c-define-tmux-h-client_control/) (constant)
- [`CLIENT_STATUSFORCE`](/en/tmux/3.7c/reference/c-define-tmux-h-client_statusforce/) (constant)
- [`cmd`](/en/tmux/3.7c/reference/c-struct-cmd/) (struct)
- [`CMD_RETURN_ERROR`](/en/tmux/3.7c/reference/c-enum-cmd_retval-cmd_return_error/) (constant)
- [`CMD_RETURN_NORMAL`](/en/tmux/3.7c/reference/c-enum-cmd_retval-cmd_return_normal/) (constant)
- [`cmd_retval`](/en/tmux/3.7c/reference/c-enum-cmd_retval/) (enum)
- [`cmdq_item`](/en/tmux/3.7c/reference/c-struct-cmdq_item/) (struct)
- [`session.curw`](/en/tmux/3.7c/reference/c-struct-session-curw/) (attribute)
- [`client.flags`](/en/tmux/3.7c/reference/c-struct-client-flags/) (attribute)
- [`tty.oox`](/en/tmux/3.7c/reference/c-struct-tty-oox/) (attribute)
- [`tty.ooy`](/en/tmux/3.7c/reference/c-struct-tty-ooy/) (attribute)
- [`tty.osx`](/en/tmux/3.7c/reference/c-struct-tty-osx/) (attribute)
- [`tty.osy`](/en/tmux/3.7c/reference/c-struct-tty-osy/) (attribute)
- [`client.pan_ox`](/en/tmux/3.7c/reference/c-struct-client-pan_ox/) (attribute)
- [`client.pan_oy`](/en/tmux/3.7c/reference/c-struct-client-pan_oy/) (attribute)
- [`client.pan_window`](/en/tmux/3.7c/reference/c-struct-client-pan_window/) (attribute)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
- [`window.sx`](/en/tmux/3.7c/reference/c-struct-window-sx/) (attribute)
- [`window.sy`](/en/tmux/3.7c/reference/c-struct-window-sy/) (attribute)
- [`client.tty`](/en/tmux/3.7c/reference/c-struct-client-tty/) (attribute)
- [`winlink.window`](/en/tmux/3.7c/reference/c-struct-winlink-window/) (attribute)
