# cmd_refresh_client_exec

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L114
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-cmd-refresh-client-c-cmd_refresh_client_exec/

tmux command: [`refresh-client`](/en/tmux/3.2a/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_first_value`](/en/tmux/3.2a/reference/c-function-args_first_value/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L187)
- [`args_get`](/en/tmux/3.2a/reference/c-function-args_get/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L207)
- [`args_has`](/en/tmux/3.2a/reference/c-function-args_has/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L124)
- [`args_next_value`](/en/tmux/3.2a/reference/c-function-args_next_value/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L190)
- [`cmd_get_args`](/en/tmux/3.2a/reference/c-function-cmd_get_args/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L116)
- [`cmd_refresh_client_update_offset`](/en/tmux/3.2a/reference/c-function-cmd-refresh-client-c-cmd_refresh_client_update_offset/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L189)
- [`cmd_refresh_client_update_subscription`](/en/tmux/3.2a/reference/c-function-cmd-refresh-client-c-cmd_refresh_client_update_subscription/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L199)
- [`cmdq_error`](/en/tmux/3.2a/reference/c-function-cmdq_error/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L135)
- [`cmdq_get_target_client`](/en/tmux/3.2a/reference/c-function-cmdq_get_target_client/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L117)
- [`recalculate_sizes_now`](/en/tmux/3.2a/reference/c-function-recalculate_sizes_now/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L220)
- [`server_client_set_flags`](/en/tmux/3.2a/reference/c-function-server_client_set_flags/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L180)
- [`server_redraw_client`](/en/tmux/3.2a/reference/c-function-server_redraw_client/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L170)
- [`server_status_client`](/en/tmux/3.2a/reference/c-function-server_status_client/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L226)
- [`strtonum`](/en/tmux/3.2a/reference/c-function-strtonum/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L133)
- [`tty_putcode_ptr2`](/en/tmux/3.2a/reference/c-function-tty_putcode_ptr2/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L175)
- [`tty_set_size`](/en/tmux/3.2a/reference/c-function-tty_set_size/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L218)
- [`tty_update_client_offset`](/en/tmux/3.2a/reference/c-function-tty_update_client_offset/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L169)

## Referenced by

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

## Referenced declarations

- [`args.argc`](/en/tmux/3.2a/reference/c-struct-args-argc/) (attribute)
- [`args.argv`](/en/tmux/3.2a/reference/c-struct-args-argv/) (attribute)
- [`CLIENT_CONTROL`](/en/tmux/3.2a/reference/c-define-tmux-h-client_control/) (constant)
- [`CLIENT_SIZECHANGED`](/en/tmux/3.2a/reference/c-define-tmux-h-client_sizechanged/) (constant)
- [`CLIENT_STATUSFORCE`](/en/tmux/3.2a/reference/c-define-tmux-h-client_statusforce/) (constant)
- [`cmd`](/en/tmux/3.2a/reference/c-struct-cmd/) (struct)
- [`CMD_RETURN_ERROR`](/en/tmux/3.2a/reference/c-enum-cmd_retval-cmd_return_error/) (constant)
- [`CMD_RETURN_NORMAL`](/en/tmux/3.2a/reference/c-enum-cmd_retval-cmd_return_normal/) (constant)
- [`cmd_retval`](/en/tmux/3.2a/reference/c-enum-cmd_retval/) (enum)
- [`cmdq_item`](/en/tmux/3.2a/reference/c-struct-cmdq_item/) (struct)
- [`session.curw`](/en/tmux/3.2a/reference/c-struct-session-curw/) (attribute)
- [`client.flags`](/en/tmux/3.2a/reference/c-struct-client-flags/) (attribute)
- [`tty.oox`](/en/tmux/3.2a/reference/c-struct-tty-oox/) (attribute)
- [`tty.ooy`](/en/tmux/3.2a/reference/c-struct-tty-ooy/) (attribute)
- [`tty.osx`](/en/tmux/3.2a/reference/c-struct-tty-osx/) (attribute)
- [`tty.osy`](/en/tmux/3.2a/reference/c-struct-tty-osy/) (attribute)
- [`client.pan_ox`](/en/tmux/3.2a/reference/c-struct-client-pan_ox/) (attribute)
- [`client.pan_oy`](/en/tmux/3.2a/reference/c-struct-client-pan_oy/) (attribute)
- [`client.pan_window`](/en/tmux/3.2a/reference/c-struct-client-pan_window/) (attribute)
- [`client.session`](/en/tmux/3.2a/reference/c-struct-client-session/) (attribute)
- [`window.sx`](/en/tmux/3.2a/reference/c-struct-window-sx/) (attribute)
- [`window.sy`](/en/tmux/3.2a/reference/c-struct-window-sy/) (attribute)
- [`client.tty`](/en/tmux/3.2a/reference/c-struct-client-tty/) (attribute)
- [`TTYC_MS`](/en/tmux/3.2a/reference/c-enum-tty_code_code-ttyc_ms/) (constant)
- [`args_value.value`](/en/tmux/3.2a/reference/c-struct-args_value-value/) (attribute)
- [`winlink.window`](/en/tmux/3.2a/reference/c-struct-winlink-window/) (attribute)
- [`WINDOW_MAXIMUM`](/en/tmux/3.2a/reference/c-define-tmux-h-window_maximum/) (constant)
