From 3337dfcae5505236eb11e61323ce2d58d9f54fed Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 24 Jul 2008 21:42:40 +0000 Subject: Support keypad mode, and get rid of SCREEN_DEF*. Meant to commit these separately but forgot :-/. --- window-more.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'window-more.c') diff --git a/window-more.c b/window-more.c index 6424c0cd..362bb121 100644 --- a/window-more.c +++ b/window-more.c @@ -1,4 +1,4 @@ -/* $Id: window-more.c,v 1.15 2008-07-02 21:22:57 nicm Exp $ */ +/* $Id: window-more.c,v 1.16 2008-07-24 21:42:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -176,7 +176,7 @@ window_more_write_line(struct window *w, struct screen_write_ctx *ctx, u_int py) } else size = 0; - screen_write_set_attributes(ctx, SCREEN_DEFATTR, SCREEN_DEFCOLR); + screen_write_set_attributes(ctx, 0, 0x88); screen_write_move_cursor(ctx, 0, py); if (data->top + py < ARRAY_LENGTH(&data->list)) { msg = ARRAY_ITEM(&data->list, data->top + py); @@ -184,7 +184,7 @@ window_more_write_line(struct window *w, struct screen_write_ctx *ctx, u_int py) ctx, "%.*s", (int) (screen_size_x(s) - size), msg); } while (s->cx < screen_size_x(s) - size) - screen_write_put_character(ctx, SCREEN_DEFDATA); + screen_write_put_character(ctx, ' '); } void -- cgit