diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-03 21:42:37 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-03 21:42:37 +0000 |
commit | 9e6090a7a2a0d25499bce0dc68fd67289f3a5e39 (patch) | |
tree | fd99a49a5ae948c9a1eb618cae7fd26e68d554a4 /window-scroll.c | |
parent | 85d520c41e74056e59f11b5d1f6dd3f5602fa17a (diff) |
Per-session configuration options.
Diffstat (limited to 'window-scroll.c')
-rw-r--r-- | window-scroll.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/window-scroll.c b/window-scroll.c index 1e86ba09..9602bb87 100644 --- a/window-scroll.c +++ b/window-scroll.c @@ -1,4 +1,4 @@ -/* $Id: window-scroll.c,v 1.17 2008-01-03 21:32:11 nicm Exp $ */ +/* $Id: window-scroll.c,v 1.18 2008-06-03 21:42:37 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -65,7 +65,7 @@ window_scroll_init(struct window *w) data->oy = 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; screen_write_start(&ctx, s, NULL, NULL); @@ -153,7 +153,8 @@ window_scroll_write_line( 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/%u]", data->ox, data->oy, w->base.hsize); |