From 62d7ad2690c0f72f06195351aa50e3fe037f456a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 14 Jun 2008 12:05:06 +0000 Subject: Clear blank area properly on redraw, and add a marker line below it. --- screen.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'screen.c') diff --git a/screen.c b/screen.c index 45ece4b7..51b8fa2d 100644 --- a/screen.c +++ b/screen.c @@ -1,4 +1,4 @@ -/* $Id: screen.c,v 1.60 2008-06-03 21:42:37 nicm Exp $ */ +/* $Id: screen.c,v 1.61 2008-06-14 12:05:06 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -297,13 +297,8 @@ void screen_set_cell(struct screen *s, u_int cx, u_int cy, u_char data, u_char attr, u_char colr) { - if (cx >= s->grid_size[cy]) { - if (data == SCREEN_DEFDATA && - attr == SCREEN_DEFATTR && - colr == SCREEN_DEFCOLR) - return; + if (cx >= s->grid_size[cy]) screen_expand_line(s, cy, cx + 1); - } s->grid_data[cy][cx] = data; s->grid_attr[cy][cx] = attr; -- cgit v1.2.3