diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-11 06:50:16 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-11 06:50:16 +0000 |
commit | e444b0b92ac9ce4e6aabeef48707e1bc36e0ad13 (patch) | |
tree | e8ee2c3da2b14e59f589e02bb6775b2e539444b1 /screen-redraw.c | |
parent | c6be7d3ee67fa5034480bf892440be14c8e10d45 (diff) | |
download | rtmux-e444b0b92ac9ce4e6aabeef48707e1bc36e0ad13.tar.gz rtmux-e444b0b92ac9ce4e6aabeef48707e1bc36e0ad13.tar.bz2 rtmux-e444b0b92ac9ce4e6aabeef48707e1bc36e0ad13.zip |
Split most of tty_cmd_cell off to tty_cell. First step on making tty_cmd_* take
a window_pane for later use emulating scroll region.
Diffstat (limited to 'screen-redraw.c')
-rw-r--r-- | screen-redraw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/screen-redraw.c b/screen-redraw.c index ff33ab31..fc3d3eb9 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -1,4 +1,4 @@ -/* $Id: screen-redraw.c,v 1.20 2009-01-19 20:14:55 nicm Exp $ */ +/* $Id: screen-redraw.c,v 1.21 2009-02-11 06:50:15 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -142,8 +142,8 @@ screen_redraw_line(struct client *c, struct screen *s, u_int oy, u_int py) if (screen_check_selection(s, i, py)) { memcpy(&tc, &s->sel.cell, sizeof tc); tc.data = gc->data; - tty_write(&c->tty, s, oy, TTY_CELL, &tc); + tty_cell(&c->tty, s, oy, &tc); } else - tty_write(&c->tty, s, oy, TTY_CELL, gc); + tty_cell(&c->tty, s, oy, gc); } } |