summaryrefslogtreecommitdiffstats
path: root/screen-redraw.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-01-03 21:32:11 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-01-03 21:32:11 +0000
commit205b78ec588c2235bf037edb75b1fe2ac8d78386 (patch)
treefbcec5da406b1c1a8ace1979a4907ebd3bf91b21 /screen-redraw.c
parentb8e616f44555ac74f652375af76da2689afa9147 (diff)
Some key tweaks, fix status bar to not rely on attr.
Diffstat (limited to 'screen-redraw.c')
-rw-r--r--screen-redraw.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/screen-redraw.c b/screen-redraw.c
index a386b9b0..ceb75ec4 100644
--- a/screen-redraw.c
+++ b/screen-redraw.c
@@ -1,4 +1,4 @@
-/* $Id: screen-redraw.c,v 1.3 2008-01-03 20:01:47 nicm Exp $ */
+/* $Id: screen-redraw.c,v 1.4 2008-01-03 21:32:11 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -161,14 +161,6 @@ screen_redraw_clear_screen(struct screen_redraw_ctx *ctx)
}
}
-/* Clear to end of line. */
-void
-screen_redraw_clear_end_of_line(struct screen_redraw_ctx *ctx)
-{
- if (ctx->s->cx < screen_last_x(ctx->s))
- ctx->write(ctx->data, TTY_CLEARENDOFLINE);
-}
-
/* Redraw single cell. */
void
screen_redraw_cell(struct screen_redraw_ctx *ctx, u_int px, u_int py)