# screen_write_cursorright

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L1065
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-screen_write_cursorright/

```c
void screen_write_cursorright(struct screen_write_ctx *ctx, u_int nx)
```

## Parameters

- `ctx` (`struct screen_write_ctx *`)
- `nx` (`u_int`)

## Called by

- [`input_csi_dispatch`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1494)

## Calls

- [`screen_write_set_cursor`](/en/tmux/3.7c/reference/c-function-screen-write-c-screen_write_set_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L1080)

## Referenced declarations

- [`screen.cx`](/en/tmux/3.7c/reference/c-struct-screen-cx/) (attribute)
- [`screen.cy`](/en/tmux/3.7c/reference/c-struct-screen-cy/) (attribute)
- [`screen_write_ctx.s`](/en/tmux/3.7c/reference/c-struct-screen_write_ctx-s/) (attribute)
- [`screen_size_x`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_size_x/) (constant)
- [`screen_write_ctx`](/en/tmux/3.7c/reference/c-struct-screen_write_ctx/) (struct)
