aboutsummaryrefslogtreecommitdiff
path: root/screen-write.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-07-24 21:42:40 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-07-24 21:42:40 +0000
commit3337dfcae5505236eb11e61323ce2d58d9f54fed (patch)
treee67bb1ebd90208ba73da17605567bd29d5f4a6fb /screen-write.c
parent815b2174827a3aaf333d47771b767a92b9e0f96f (diff)
downloadrtmux-3337dfcae5505236eb11e61323ce2d58d9f54fed.tar.gz
rtmux-3337dfcae5505236eb11e61323ce2d58d9f54fed.tar.bz2
rtmux-3337dfcae5505236eb11e61323ce2d58d9f54fed.zip
Support keypad mode, and get rid of SCREEN_DEF*. Meant to commit these separately but forgot :-/.
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/screen-write.c b/screen-write.c
index f6934d72..aff2dc98 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -1,4 +1,4 @@
-/* $Id: screen-write.c,v 1.9 2008-07-23 23:44:50 nicm Exp $ */
+/* $Id: screen-write.c,v 1.10 2008-07-24 21:42:40 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -381,9 +381,9 @@ screen_write_fill_end_of_screen(struct screen_write_ctx *ctx)
u_int i;
screen_display_fill_area(s, s->cx, s->cy,
- screen_right_x(s, s->cx), 1, SCREEN_DEFDATA, s->attr, s->colr);
+ screen_right_x(s, s->cx), 1, ' ', s->attr, s->colr);
screen_display_fill_area(s, 0, s->cy + 1, screen_size_x(s),
- screen_below_y(s, s->cy + 1), SCREEN_DEFDATA, s->attr, s->colr);
+ screen_below_y(s, s->cy + 1), ' ', s->attr, s->colr);
if (ctx->write != NULL) {
ctx->write(ctx->data, TTY_CLEARENDOFLINE);
@@ -402,8 +402,8 @@ screen_write_fill_screen(struct screen_write_ctx *ctx)
struct screen *s = ctx->s;
u_int i;
- screen_display_fill_area(s, 0, 0, screen_size_x(s), screen_size_y(s),
- SCREEN_DEFDATA, s->attr, s->colr);
+ screen_display_fill_area(s, 0, 0,
+ screen_size_x(s), screen_size_y(s), ' ', s->attr, s->colr);
if (ctx->write != NULL) {
for (i = 0; i < screen_size_y(s); i++) {
@@ -421,7 +421,7 @@ screen_write_fill_end_of_line(struct screen_write_ctx *ctx)
struct screen *s = ctx->s;
screen_display_fill_area(s, s->cx, s->cy,
- screen_right_x(s, s->cx), 1, SCREEN_DEFDATA, s->attr, s->colr);
+ screen_right_x(s, s->cx), 1, ' ', s->attr, s->colr);
if (ctx->write != NULL)
ctx->write(ctx->data, TTY_CLEARENDOFLINE);
@@ -434,7 +434,7 @@ screen_write_fill_start_of_line(struct screen_write_ctx *ctx)
struct screen *s = ctx->s;
screen_display_fill_area(s, 0, s->cy,
- screen_left_x(s, s->cx), 1, SCREEN_DEFDATA, s->attr, s->colr);
+ screen_left_x(s, s->cx), 1, ' ', s->attr, s->colr);
if (ctx->write != NULL)
ctx->write(ctx->data, TTY_CLEARSTARTOFLINE);
@@ -447,7 +447,7 @@ screen_write_fill_line(struct screen_write_ctx *ctx)
struct screen *s = ctx->s;
screen_display_fill_area(s, 0, s->cy,
- screen_size_x(s), s->cy, SCREEN_DEFDATA, s->attr, s->colr);
+ screen_size_x(s), s->cy, ' ', s->attr, s->colr);
if (ctx->write != NULL)
ctx->write(ctx->data, TTY_CLEARLINE);