diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-14 12:05:06 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-14 12:05:06 +0000 |
commit | 62d7ad2690c0f72f06195351aa50e3fe037f456a (patch) | |
tree | 1d37c6afd94b2b2941b9ef3694c349cef8d96c05 /screen-redraw.c | |
parent | 0bfd7a502309d329bcd0a41353b07ca6c5c5cafa (diff) | |
download | rtmux-62d7ad2690c0f72f06195351aa50e3fe037f456a.tar.gz rtmux-62d7ad2690c0f72f06195351aa50e3fe037f456a.tar.bz2 rtmux-62d7ad2690c0f72f06195351aa50e3fe037f456a.zip |
Clear blank area properly on redraw, and add a marker line below it.
Diffstat (limited to 'screen-redraw.c')
-rw-r--r-- | screen-redraw.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/screen-redraw.c b/screen-redraw.c index ceb75ec4..6d6f328e 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -1,4 +1,4 @@ -/* $Id: screen-redraw.c,v 1.4 2008-01-03 21:32:11 nicm Exp $ */ +/* $Id: screen-redraw.c,v 1.5 2008-06-14 12:05:06 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -149,18 +149,6 @@ screen_redraw_write_string(struct screen_redraw_ctx *ctx, const char *fmt, ...) xfree(msg); } -/* Clear screen. */ -void -screen_redraw_clear_screen(struct screen_redraw_ctx *ctx) -{ - u_int i; - - for (i = 0; i < screen_size_y(ctx->s); i++) { - screen_redraw_move_cursor(ctx, 0, i); - ctx->write(ctx->data, TTY_CLEARLINE); - } -} - /* Redraw single cell. */ void screen_redraw_cell(struct screen_redraw_ctx *ctx, u_int px, u_int py) |