diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-07-24 21:42:40 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-07-24 21:42:40 +0000 |
commit | 3337dfcae5505236eb11e61323ce2d58d9f54fed (patch) | |
tree | e67bb1ebd90208ba73da17605567bd29d5f4a6fb /window-more.c | |
parent | 815b2174827a3aaf333d47771b767a92b9e0f96f (diff) |
Support keypad mode, and get rid of SCREEN_DEF*. Meant to commit these separately but forgot :-/.
Diffstat (limited to 'window-more.c')
-rw-r--r-- | window-more.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <nicm@users.sourceforge.net> @@ -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 |