mirror of
https://github.com/tmux/tmux.git
synced 2025-11-05 10:26:04 +00:00
Initial 256 colour support, lightly tested.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user