1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

win32: fixed colors decoding

This commit is contained in:
Witold Filipczyk 2006-05-20 17:27:14 +02:00 committed by Witold Filipczyk
parent cbb507a6b5
commit edcf52582c

View File

@ -89,8 +89,12 @@ VT100_decode(HANDLE fd, const void *b, int len)
begin = tail + 1;
if (kod == 0) {
intensity = 0;
back = 0;
fore = 7;
} else if (kod == 1) {
intensity = 8;
} else if (kod == 22) {
intensity = 0;
} else if (kod >= 30 && kod <= 37) {
fore = kolors[kod - 30];
} else if (kod >= 40 && kod <= 47) {