# screen_redraw_draw_borders_cell

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L984
- **Page:** https://libtmux.org/en/tmux/3.7c/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.7c/reference/c-function-screen-redraw-c-screen_redraw_draw_borders/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L1067)

## Calls

- [`format_create_defaults`](/en/tmux/3.7c/reference/c-function-format_create_defaults/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L1011)
- [`format_free`](/en/tmux/3.7c/reference/c-function-format_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L1015)
- [`screen_redraw_border_set`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_border_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L1025)
- [`screen_redraw_check_cell`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_check_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L1005)
- [`screen_redraw_draw_border_arrows`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_draw_border_arrows/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L1041)
- [`screen_redraw_draw_borders_style`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_draw_borders_style/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L1020)
- [`server_client_get_pane`](/en/tmux/3.7c/reference/c-function-server_client_get_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L992)
- [`server_client_ranges_is_empty`](/en/tmux/3.7c/reference/c-function-server_client_ranges_is_empty/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L1001)
- [`server_is_marked`](/en/tmux/3.7c/reference/c-function-server_is_marked/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L1021)
- [`style_add`](/en/tmux/3.7c/reference/c-function-style_add/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L1013)
- [`tty_cell`](/en/tmux/3.7c/reference/c-function-tty_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L1043)
- [`tty_cursor`](/en/tmux/3.7c/reference/c-function-tty_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L1035)

## Other function references

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

## Referenced declarations

- [`grid_cell.attr`](/en/tmux/3.7c/reference/c-struct-grid_cell-attr/) (attribute)
- [`screen_redraw_ctx.c`](/en/tmux/3.7c/reference/c-struct-screen_redraw_ctx-c/) (attribute)
- [`CELL_INSIDE`](/en/tmux/3.7c/reference/c-define-tmux-h-cell_inside/) (constant)
- [`CELL_OUTSIDE`](/en/tmux/3.7c/reference/c-define-tmux-h-cell_outside/) (constant)
- [`CELL_SCROLLBAR`](/en/tmux/3.7c/reference/c-define-tmux-h-cell_scrollbar/) (constant)
- [`CELL_TOPBOTTOM`](/en/tmux/3.7c/reference/c-define-tmux-h-cell_topbottom/) (constant)
- [`CLIENT_UTF8`](/en/tmux/3.7c/reference/c-define-tmux-h-client_utf8/) (constant)
- [`session.curw`](/en/tmux/3.7c/reference/c-struct-session-curw/) (attribute)
- [`END_ISOLATE`](/en/tmux/3.7c/reference/c-define-screen-redraw-c-end_isolate/) (constant)
- [`client.flags`](/en/tmux/3.7c/reference/c-struct-client-flags/) (attribute)
- [`GRID_ATTR_REVERSE`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_attr_reverse/) (constant)
- [`grid_default_cell`](/en/tmux/3.7c/reference/c-variable-grid_default_cell/) (attribute)
- [`marked_pane`](/en/tmux/3.7c/reference/c-variable-marked_pane/) (attribute)
- [`screen_redraw_ctx.no_pane_gc`](/en/tmux/3.7c/reference/c-struct-screen_redraw_ctx-no_pane_gc/) (attribute)
- [`screen_redraw_ctx.no_pane_gc_set`](/en/tmux/3.7c/reference/c-struct-screen_redraw_ctx-no_pane_gc_set/) (attribute)
- [`window.options`](/en/tmux/3.7c/reference/c-struct-window-options/) (attribute)
- [`client.overlay_check`](/en/tmux/3.7c/reference/c-struct-client-overlay_check/) (attribute)
- [`client.overlay_data`](/en/tmux/3.7c/reference/c-struct-client-overlay_data/) (attribute)
- [`screen_redraw_ctx.ox`](/en/tmux/3.7c/reference/c-struct-screen_redraw_ctx-ox/) (attribute)
- [`screen_redraw_ctx.oy`](/en/tmux/3.7c/reference/c-struct-screen_redraw_ctx-oy/) (attribute)
- [`screen_redraw_ctx.pane_lines`](/en/tmux/3.7c/reference/c-struct-screen_redraw_ctx-pane_lines/) (attribute)
- [`screen_redraw_ctx`](/en/tmux/3.7c/reference/c-struct-screen_redraw_ctx/) (struct)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
- [`START_ISOLATE`](/en/tmux/3.7c/reference/c-define-screen-redraw-c-start_isolate/) (constant)
- [`screen_redraw_ctx.statuslines`](/en/tmux/3.7c/reference/c-struct-screen_redraw_ctx-statuslines/) (attribute)
- [`screen_redraw_ctx.statustop`](/en/tmux/3.7c/reference/c-struct-screen_redraw_ctx-statustop/) (attribute)
- [`tty.term`](/en/tmux/3.7c/reference/c-struct-tty-term/) (attribute)
- [`client.tty`](/en/tmux/3.7c/reference/c-struct-client-tty/) (attribute)
- [`TTYC_BIDI`](/en/tmux/3.7c/reference/c-enum-tty_code_code-ttyc_bidi/) (constant)
- [`winlink.window`](/en/tmux/3.7c/reference/c-struct-winlink-window/) (attribute)
- [`cmd_find_state.wp`](/en/tmux/3.7c/reference/c-struct-cmd_find_state-wp/) (attribute)
