# grid_reader_cursor_back_to_indentation

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

```c
void grid_reader_cursor_back_to_indentation(struct grid_reader *gr)
```

## Parameters

- `gr` (`struct grid_reader *`)

## Called by

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

## 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#L427)
- [`grid_line_length`](/en/tmux/latest/reference/c-function-grid_line_length/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid-reader.c#L425)
- [`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#L422)

## Other function references

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

## 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.data`](/en/tmux/latest/reference/c-struct-grid_cell-data/) (attribute)
- [`utf8_data.data`](/en/tmux/latest/reference/c-struct-utf8_data-data/) (attribute)
- [`grid_cell.flags`](/en/tmux/latest/reference/c-struct-grid_cell-flags/) (attribute)
- [`grid_line.flags`](/en/tmux/latest/reference/c-struct-grid_line-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_FLAG_TAB`](/en/tmux/latest/reference/c-define-tmux-h-grid_flag_tab/) (constant)
- [`GRID_LINE_WRAPPED`](/en/tmux/latest/reference/c-define-tmux-h-grid_line_wrapped/) (constant)
- [`grid_reader`](/en/tmux/latest/reference/c-struct-grid_reader/) (struct)
- [`grid.hsize`](/en/tmux/latest/reference/c-struct-grid-hsize/) (attribute)
- [`utf8_data.size`](/en/tmux/latest/reference/c-struct-utf8_data-size/) (attribute)
- [`grid.sy`](/en/tmux/latest/reference/c-struct-grid-sy/) (attribute)
