From 4235ddb4e86ddd02275396b890d0671494ff956d Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 8 Sep 2008 17:40:51 +0000 Subject: Initial 256 colour support, lightly tested. --- 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 362bb121..2a688497 100644 --- a/window-more.c +++ b/window-more.c @@ -1,4 +1,4 @@ -/* $Id: window-more.c,v 1.16 2008-07-24 21:42:40 nicm Exp $ */ +/* $Id: window-more.c,v 1.17 2008-09-08 17:40:51 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -169,14 +169,14 @@ window_more_write_line(struct window *w, struct screen_write_ctx *ctx, u_int py) if (py == 0) { screen_write_set_attributes( - ctx, ATTR_BRIGHT|ATTR_REVERSE, 0x88); + ctx, ATTR_BRIGHT|ATTR_REVERSE, 8, 8); screen_write_move_cursor(ctx, 0, 0); size = screen_write_put_string_rjust( ctx, "[%u/%u]", data->top, ARRAY_LENGTH(&data->list)); } else size = 0; - screen_write_set_attributes(ctx, 0, 0x88); + screen_write_set_attributes(ctx, 0, 8, 8); screen_write_move_cursor(ctx, 0, py); if (data->top + py < ARRAY_LENGTH(&data->list)) { msg = ARRAY_ITEM(&data->list, data->top + py); -- cgit