mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 07:29:23 +00:00
Fix rgbtoxterm tool to output the proper colors (#819)
This commit is contained in:
parent
90645f4dac
commit
992a4638ae
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ void processarg(const char *arg) {
|
|||
return;
|
||||
}
|
||||
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_]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue