[Konsole-devel] [Bug 107487] PATCH - Please add the xterm-256 colour support.

lars.doelle at on-line.de lars.doelle at on-line.de
Sat Jun 24 22:25:07 UTC 2006


Witek, All,

find attached a patch along the lines of Witek's work and my
previous reply.

The patch introduces colour spaces to represent colours in
screen now, thereby localising the necessary changes.

Though the patch is relatively local and survived my testing,
it is pretty intrusive and has the potential to break some of
the rendition hacks, that i'm not aware of. The changes i find
critical are all in TEWidget.C. In particular, I could make no
sense off:

    image[i].c = 0xff; //' ';
    image[i].f = 0xff; //DEFAULT_FORE_COLOR;
    image[i].b = 0xff; //DEFAULT_BACK_COLOR;
    image[i].r = 0xff; //DEFAULT_RENDITION;

so i reverted this one to the original code.

-lars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: colorspaces-001.patch
Type: text/x-diff
Size: 26128 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20060625/d5a097ab/attachment.bin>


More information about the konsole-devel mailing list