=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty.c,v retrieving revision 1.238 retrieving revision 1.239 diff -c -r1.238 -r1.239 *** src/usr.bin/tmux/tty.c 2017/02/08 16:18:20 1.238 --- src/usr.bin/tmux/tty.c 2017/02/08 16:45:18 1.239 *************** *** 1,4 **** ! /* $OpenBSD: tty.c,v 1.238 2017/02/08 16:18:20 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tty.c,v 1.239 2017/02/08 16:45:18 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1167,1172 **** --- 1167,1181 ---- tty_cursor_pane(tty, ctx, ctx->ocx, ctx->ocy); tty_cell(tty, ctx->cell, ctx->wp); + } + + void + tty_cmd_cells(struct tty *tty, const struct tty_ctx *ctx) + { + tty_cursor_pane(tty, ctx, ctx->ocx, ctx->ocy); + + tty_attributes(tty, ctx->cell, ctx->wp); + tty_putn(tty, ctx->ptr, ctx->num, ctx->num); } void