mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-08 10:50:28 +00:00
Fix rgbtoxterm tool to output the proper colors
This commit is contained in:
parent
1422e96b4e
commit
9f580b4e47
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ void processarg(const char *arg) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
fprintf(fout_, "%s[%s%d;5;%hhum%s", rawmode_ ? "\e" : "\\e",
|
fprintf(fout_, "%s[%s%d;5;%hhum%s", rawmode_ ? "\e" : "\\e",
|
||||||
emphasis_ ? "1;" : "", background_ ? 48 : 38, rgb2tty(r, g, b),
|
emphasis_ ? "1;" : "", background_ ? 48 : 38, rgb2tty(r, g, b).xt,
|
||||||
&"\n"[rawmode_]);
|
&"\n"[rawmode_]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue