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:
parent
cbb507a6b5
commit
edcf52582c
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user