mirror of
https://github.com/tmux/tmux.git
synced 2026-06-20 17:25:57 +00:00
Convert cursor position back to pane coordinates for tty_cmd_cell.
This commit is contained in:
@@ -2587,7 +2587,7 @@ screen_write_cell(struct screen_write_ctx *ctx, const struct grid_cell *gc)
|
||||
if (ri->nx == 0)
|
||||
continue;
|
||||
for (n = 0; n < ri->nx; n++) {
|
||||
ttyctx.ocx = ri->px + n;
|
||||
ttyctx.ocx = (int)ri->px - xoff + (int)n;
|
||||
tty_write(tty_cmd_cell, &ttyctx);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user