# window_copy_cursor_right

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5854
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cursor_right/

```c
static void window_copy_cursor_right(struct window_mode_entry *, int)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `all` (`int`)

## Called by

- [`window_copy_cmd_cursor_right`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cmd_cursor_right/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1493)

## Calls

- [`grid_reader_cursor_right`](/en/tmux/latest/reference/c-function-grid_reader_cursor_right/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5871)
- [`grid_reader_get_cursor`](/en/tmux/latest/reference/c-function-grid_reader_get_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5872)
- [`grid_reader_start`](/en/tmux/latest/reference/c-function-grid_reader_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5870)

## Other function references

- [`options_get_number`](/en/tmux/latest/reference/c-function-options_get_number/) (function)
- [`window_copy_acquire_cursor_down`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_acquire_cursor_down/) (function)

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`window_copy_mode_data.cx`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-cx/) (attribute)
- [`window_copy_mode_data.cy`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-cy/) (attribute)
- [`window_mode_entry.data`](/en/tmux/latest/reference/c-struct-window_mode_entry-data/) (attribute)
- [`screen.grid`](/en/tmux/latest/reference/c-struct-screen-grid/) (attribute)
- [`MODEKEY_VI`](/en/tmux/latest/reference/c-define-tmux-h-modekey_vi/) (constant)
- [`window.options`](/en/tmux/latest/reference/c-struct-window-options/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/latest/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`screen_hsize`](/en/tmux/latest/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`screen_size_y`](/en/tmux/latest/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`window_pane.window`](/en/tmux/latest/reference/c-struct-window_pane-window/) (attribute)
- [`window_mode_entry`](/en/tmux/latest/reference/c-struct-window_mode_entry/) (struct)
- [`window_mode_entry.wp`](/en/tmux/latest/reference/c-struct-window_mode_entry-wp/) (attribute)
