# screen_redraw_draw_borders_cell

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L679
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_draw_borders_cell/

```c
static void screen_redraw_draw_borders_cell(struct screen_redraw_ctx *ctx, u_int i, u_int j)
```

## Parameters

- `ctx` (`struct screen_redraw_ctx *`)
- `i` (`u_int`)
- `j` (`u_int`)

## Called by

- [`screen_redraw_draw_borders`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_draw_borders/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L746)

## Calls

- [`screen_redraw_border_set`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_border_set/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L709)
- [`screen_redraw_check_cell`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_check_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L693)
- [`screen_redraw_draw_borders_style`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_draw_borders_style/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L700)
- [`server_is_marked`](/en/tmux/3.2a/reference/c-function-server_is_marked/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L705)
- [`tty_cell`](/en/tmux/3.2a/reference/c-function-tty_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L724)
- [`tty_cursor`](/en/tmux/3.2a/reference/c-function-tty_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L719)

## Other function references

- [`screen_redraw_check_is`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_check_is/) (function)
- [`tty_puts`](/en/tmux/3.2a/reference/c-function-tty_puts/) (function)
- [`tty_term_has`](/en/tmux/3.2a/reference/c-function-tty_term_has/) (function)

## Referenced declarations

- [`grid_cell.attr`](/en/tmux/3.2a/reference/c-struct-grid_cell-attr/) (attribute)
- [`screen_redraw_ctx.c`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx-c/) (attribute)
- [`CELL_INSIDE`](/en/tmux/3.2a/reference/c-define-screen-redraw-c-cell_inside/) (constant)
- [`CELL_TOPBOTTOM`](/en/tmux/3.2a/reference/c-define-screen-redraw-c-cell_topbottom/) (constant)
- [`CLIENT_UTF8`](/en/tmux/3.2a/reference/c-define-tmux-h-client_utf8/) (constant)
- [`session.curw`](/en/tmux/3.2a/reference/c-struct-session-curw/) (attribute)
- [`END_ISOLATE`](/en/tmux/3.2a/reference/c-define-screen-redraw-c-end_isolate/) (constant)
- [`client.flags`](/en/tmux/3.2a/reference/c-struct-client-flags/) (attribute)
- [`GRID_ATTR_REVERSE`](/en/tmux/3.2a/reference/c-define-tmux-h-grid_attr_reverse/) (constant)
- [`grid_default_cell`](/en/tmux/3.2a/reference/c-variable-grid_default_cell/) (attribute)
- [`marked_pane`](/en/tmux/3.2a/reference/c-variable-marked_pane/) (attribute)
- [`client.overlay_check`](/en/tmux/3.2a/reference/c-struct-client-overlay_check/) (attribute)
- [`screen_redraw_ctx.ox`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx-ox/) (attribute)
- [`screen_redraw_ctx.oy`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx-oy/) (attribute)
- [`screen_redraw_ctx.pane_lines`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx-pane_lines/) (attribute)
- [`screen_redraw_ctx.pane_status`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx-pane_status/) (attribute)
- [`screen_redraw_ctx`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx/) (struct)
- [`client.session`](/en/tmux/3.2a/reference/c-struct-client-session/) (attribute)
- [`START_ISOLATE`](/en/tmux/3.2a/reference/c-define-screen-redraw-c-start_isolate/) (constant)
- [`screen_redraw_ctx.statuslines`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx-statuslines/) (attribute)
- [`screen_redraw_ctx.statustop`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx-statustop/) (attribute)
- [`tty.term`](/en/tmux/3.2a/reference/c-struct-tty-term/) (attribute)
- [`client.tty`](/en/tmux/3.2a/reference/c-struct-client-tty/) (attribute)
- [`TTYC_BIDI`](/en/tmux/3.2a/reference/c-enum-tty_code_code-ttyc_bidi/) (constant)
- [`cmd_find_state.wp`](/en/tmux/3.2a/reference/c-struct-cmd_find_state-wp/) (attribute)
