mirror of
https://github.com/RGBCube/color.v
synced 2025-07-31 09:57:47 +00:00
Use u8 instead of i32(int) for TrueColor
This will save memory
This commit is contained in:
parent
5895b61733
commit
cfe0f2a2c3
2 changed files with 8 additions and 12 deletions
|
@ -20,8 +20,8 @@ color.bold.cprintln('Hello World')
|
|||
import color
|
||||
|
||||
brush := color.new_brush(
|
||||
fg: color.rgb(0, 0, 0)!
|
||||
bg: color.hex(0xffffff)!
|
||||
fg: color.rgb(0, 0, 0)
|
||||
bg: color.hex(0xffffff)
|
||||
style: [color.bold, color.underline, color.italic]
|
||||
)!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue