Lines Matching refs:ttyctx
1611 tty_set_client_cb(struct tty_ctx *ttyctx, struct client *c)
1613 struct window_pane *wp = ttyctx->arg;
1621 ttyctx->bigger = tty_window_offset(&c->tty, &ttyctx->wox, &ttyctx->woy,
1622 &ttyctx->wsx, &ttyctx->wsy);
1624 ttyctx->yoff = ttyctx->ryoff = wp->yoff;
1626 ttyctx->yoff += status_line_size(c);
1635 struct tty_ctx ttyctx;
1638 memset(&ttyctx, 0, sizeof ttyctx);
1641 ttyctx.ocx = im->px;
1642 ttyctx.ocy = im->py;
1644 ttyctx.orlower = s->rlower;
1645 ttyctx.orupper = s->rupper;
1647 ttyctx.xoff = ttyctx.rxoff = wp->xoff;
1648 ttyctx.sx = wp->sx;
1649 ttyctx.sy = wp->sy;
1651 ttyctx.ptr = im;
1652 ttyctx.arg = wp;
1653 ttyctx.set_client_cb = tty_set_client_cb;
1654 ttyctx.allow_invisible_panes = 1;
1655 tty_write_one(tty_cmd_sixelimage, c, &ttyctx);