mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 15:10:53 +00:00
Fix glitch in scr.html when scr.color=1 ##cons
This commit is contained in:
parent
1e10eb92f0
commit
b77b92b31d
@ -154,8 +154,8 @@ R_API char *r_cons_html_filter(const char *ptr, int *newlen) {
|
||||
ptr = end;
|
||||
str = ptr + 1;
|
||||
esc = 0;
|
||||
} else if (ptr[0] == '0' && ptr[1] == ';' && ptr[2] == '0') {
|
||||
// wtf ?
|
||||
} else if ((ptr[0] == '0' || ptr[0] == '1') && ptr[1] == ';' && ptr[2] == '0') {
|
||||
// bg color is kind of ignored, but no glitch so far
|
||||
r_cons_gotoxy (0, 0);
|
||||
ptr += 4;
|
||||
esc = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user