From 9e6090a7a2a0d25499bce0dc68fd67289f3a5e39 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 3 Jun 2008 21:42:37 +0000 Subject: Per-session configuration options. --- window-more.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'window-more.c') diff --git a/window-more.c b/window-more.c index 51660445..fbb5b999 100644 --- a/window-more.c +++ b/window-more.c @@ -1,4 +1,4 @@ -/* $Id: window-more.c,v 1.10 2008-01-03 21:32:11 nicm Exp $ */ +/* $Id: window-more.c,v 1.11 2008-06-03 21:42:37 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -92,7 +92,7 @@ window_more_init(struct window *w) data->top = 0; s = &data->screen; - screen_create(s, screen_size_x(&w->base), screen_size_y(&w->base)); + screen_create(s, screen_size_x(&w->base), screen_size_y(&w->base), 0); s->mode &= ~MODE_CURSOR; return (s); @@ -171,7 +171,8 @@ window_more_write_line(struct window *w, struct screen_write_ctx *ctx, u_int py) size_t size; if (py == 0) { - screen_write_set_attributes(ctx, 0, status_colour); + screen_write_set_attributes( + ctx, ATTR_BRIGHT|ATTR_REVERSE, 0x70); screen_write_move_cursor(ctx, 0, 0); size = screen_write_put_string_rjust( ctx, "[%u/%u]", data->top, ARRAY_LENGTH(&data->list)); -- cgit