# grid_reader_cursor_right

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid-reader.c#L48
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-grid_reader_cursor_right/

```c
void grid_reader_cursor_right(struct grid_reader *gr, int wrap, int all, int onemore)
```

## Parameters

- `gr` (`struct grid_reader *`)
- `wrap` (`int`)
- `all` (`int`)
- `onemore` (`int`)

## Called by

- [`window_copy_cursor_jump_to_back`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cursor_jump_to_back/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6102)
- [`window_copy_cursor_next_word_end`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cursor_next_word_end/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6179)
- [`window_copy_cursor_next_word_end_pos`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cursor_next_word_end_pos/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6149)
- [`window_copy_cursor_right`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_cursor_right/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5871)

## Calls

- [`grid_get_cell`](/en/tmux/latest/reference/c-function-grid_get_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid-reader.c#L69)
- [`grid_reader_cursor_down`](/en/tmux/latest/reference/c-function-grid_reader_cursor_down/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid-reader.c#L65)
- [`grid_reader_cursor_start_of_line`](/en/tmux/latest/reference/c-function-grid_reader_cursor_start_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid-reader.c#L64)
- [`grid_reader_line_length`](/en/tmux/latest/reference/c-function-grid_reader_line_length/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid-reader.c#L56)

## Referenced declarations

- [`grid_reader.cx`](/en/tmux/latest/reference/c-struct-grid_reader-cx/) (attribute)
- [`grid_reader.cy`](/en/tmux/latest/reference/c-struct-grid_reader-cy/) (attribute)
- [`grid_cell.flags`](/en/tmux/latest/reference/c-struct-grid_cell-flags/) (attribute)
- [`grid_reader.gd`](/en/tmux/latest/reference/c-struct-grid_reader-gd/) (attribute)
- [`GRID_FLAG_PADDING`](/en/tmux/latest/reference/c-define-tmux-h-grid_flag_padding/) (constant)
- [`grid_reader`](/en/tmux/latest/reference/c-struct-grid_reader/) (struct)
- [`grid.hsize`](/en/tmux/latest/reference/c-struct-grid-hsize/) (attribute)
- [`grid.sx`](/en/tmux/latest/reference/c-struct-grid-sx/) (attribute)
- [`grid.sy`](/en/tmux/latest/reference/c-struct-grid-sy/) (attribute)
