As seen in the picture, this line: b = bg(50, 255, 50) + 'Text with green bg' + rs.bg # select a 24bit rgb color directly.
also doesn't work and changes font color to grey.
The text was updated successfully, but these errors were encountered:
I think there isn't much we can do about it. I guess the best we can do is create an issue for it on the terminal.app issue tracker (if there is one).
I'll add this issue to the Terminal Support section.
feluxe
changed the title
Assigning new colors doesn't work in macOS Mojave default terminal.
Assigning RGB colors doesn't work in macOS Mojave default terminal.
Jan 19, 2019
mcaay commentedDec 23, 2018
I tried the proposed way of assigning colors, but it gives grey font regardless of the rgb values.
from sty import fg, bg, ef, rs, Rule, Render
fg.orange = Rule(Render.rgb_fg, 15, 15, 15)
print(fg.orange, end="")
print("aaa")
print(rs.all, end="")
As seen in the picture, this line:
b = bg(50, 255, 50) + 'Text with green bg' + rs.bg # select a 24bit rgb color directly.
also doesn't work and changes font color to grey.
The text was updated successfully, but these errors were encountered: