diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-09-08 17:40:51 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-09-08 17:40:51 +0000 |
commit | 4235ddb4e86ddd02275396b890d0671494ff956d (patch) | |
tree | 178531844b695e9968b4354b2b116a06d518ee8b /window-copy.c | |
parent | 33aa9315414dca1218b3c88b0c5ffc89d4379974 (diff) | |
download | rtmux-4235ddb4e86ddd02275396b890d0671494ff956d.tar.gz rtmux-4235ddb4e86ddd02275396b890d0671494ff956d.tar.bz2 rtmux-4235ddb4e86ddd02275396b890d0671494ff956d.zip |
Initial 256 colour support, lightly tested.
Diffstat (limited to 'window-copy.c')
-rw-r--r-- | window-copy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/window-copy.c b/window-copy.c index 869effa3..192f6a20 100644 --- a/window-copy.c +++ b/window-copy.c @@ -1,4 +1,4 @@ -/* $Id: window-copy.c,v 1.28 2008-08-07 20:20:52 nicm Exp $ */ +/* $Id: window-copy.c,v 1.29 2008-09-08 17:40:51 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -211,11 +211,11 @@ window_copy_write_line( 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/%u]", data->ox, data->oy, w->base.hsize); - screen_write_set_attributes(ctx, 0, 0x88); + screen_write_set_attributes(ctx, 0, 8, 8); } else size = 0; screen_write_move_cursor(ctx, 0, py); |