From 91c9d952793249868c7d4dea78a113fcf288929c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 11 Feb 2009 07:02:34 +0000 Subject: Change tty_cmd_* to use a window_pane. --- tty-write.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tty-write.c') diff --git a/tty-write.c b/tty-write.c index 4e582e62..ffbb4673 100644 --- a/tty-write.c +++ b/tty-write.c @@ -1,4 +1,4 @@ -/* $Id: tty-write.c,v 1.10 2009-02-11 06:31:09 nicm Exp $ */ +/* $Id: tty-write.c,v 1.11 2009-02-11 07:02:34 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -54,7 +54,7 @@ tty_vwrite_cmd(struct window_pane *wp, enum tty_cmd cmd, va_list ap) if (c->session->curw->window == wp->window) { va_copy(aq, ap); - tty_vwrite(&c->tty, wp->screen, wp->yoff, cmd, aq); + tty_vwrite(&c->tty, wp, cmd, aq); va_end(aq); } } -- cgit