# cmd_list_keys_get_table_width

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-keys.c#L83
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-cmd-list-keys-c-cmd_list_keys_get_table_width/

```c
static u_int cmd_list_keys_get_table_width(struct key_binding **l, u_int n)
```

## Parameters

- `l` (`struct key_binding **`)
- `n` (`u_int`)

## Calls

- [`utf8_cstrwidth`](/en/tmux/3.7c/reference/c-function-utf8_cstrwidth/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-keys.c#L88)

## Referenced by

- [`cmd_list_keys_exec`](/en/tmux/3.7c/reference/c-function-cmd-list-keys-c-cmd_list_keys_exec/) (function)

## Referenced declarations

- [`key_binding`](/en/tmux/3.7c/reference/c-struct-key_binding/) (struct)
