# grid_reader_cursor_left

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

```c
void grid_reader_cursor_left(struct grid_reader *gr, int wrap)
```

## Parameters

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

## Called by

- [`window_copy_cursor_jump_back`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cursor_jump_back/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6052)
- [`window_copy_cursor_jump_to`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cursor_jump_to/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6075)
- [`window_copy_cursor_jump_to_back`](/en/tmux/3.7c/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#L6099)
- [`window_copy_cursor_left`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cursor_left/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L5848)
- [`window_copy_cursor_next_word_end`](/en/tmux/3.7c/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#L6181)
- [`window_copy_cursor_next_word_end_pos`](/en/tmux/3.7c/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#L6151)

## Calls

- [`grid_get_cell`](/en/tmux/3.7c/reference/c-function-grid_get_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid-reader.c#L84)
- [`grid_reader_cursor_end_of_line`](/en/tmux/3.7c/reference/c-function-grid_reader_cursor_end_of_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid-reader.c#L93)
- [`grid_reader_cursor_up`](/en/tmux/3.7c/reference/c-function-grid_reader_cursor_up/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid-reader.c#L92)

## Other function references

- [`grid_get_line`](/en/tmux/3.7c/reference/c-function-grid_get_line/) (function)

## Referenced declarations

- [`grid_reader.cx`](/en/tmux/3.7c/reference/c-struct-grid_reader-cx/) (attribute)
- [`grid_reader.cy`](/en/tmux/3.7c/reference/c-struct-grid_reader-cy/) (attribute)
- [`grid_cell.flags`](/en/tmux/3.7c/reference/c-struct-grid_cell-flags/) (attribute)
- [`grid_line.flags`](/en/tmux/3.7c/reference/c-struct-grid_line-flags/) (attribute)
- [`grid_reader.gd`](/en/tmux/3.7c/reference/c-struct-grid_reader-gd/) (attribute)
- [`GRID_FLAG_PADDING`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_flag_padding/) (constant)
- [`GRID_LINE_WRAPPED`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_line_wrapped/) (constant)
- [`grid_reader`](/en/tmux/3.7c/reference/c-struct-grid_reader/) (struct)
