1
Fork 0
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:
Pringlers 2022-11-20 20:01:32 +09:00 committed by GitHub
parent 5895b61733
commit cfe0f2a2c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 12 deletions

View file

@ -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]
)!