# cmd_previous_window_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-select-window.c#L58
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-variable-cmd_previous_window_entry/

tmux command: [`previous-window`](/en/tmux/3.2a/manual/previous-window/)

```c
const struct cmd_entry cmd_previous_window_entry = {
    .name = "previous-window",
    .alias = "prev",

    .args = { "at:", 0, 0 },
    .usage = "[-a] " "[-t target-session]" ,

    .target = { 't', CMD_FIND_SESSION, 0 },

    .flags = 0,
    .exec = cmd_select_window_exec
};
```

## Other function references

- [`cmd_select_window_exec`](/en/tmux/3.2a/reference/c-function-cmd-select-window-c-cmd_select_window_exec/) (function)

## Referenced by

- [`cmd_select_window_exec`](/en/tmux/3.2a/reference/c-function-cmd-select-window-c-cmd_select_window_exec/) (function)

## Referenced declarations

- [`args`](/en/tmux/3.2a/reference/c-struct-args/) (struct)
- [`cmd_entry`](/en/tmux/3.2a/reference/c-struct-cmd_entry/) (struct)
- [`CMD_FIND_SESSION`](/en/tmux/3.2a/reference/c-enum-cmd_find_type-cmd_find_session/) (constant)
- [`session`](/en/tmux/3.2a/reference/c-struct-session/) (struct)
