mirror of
https://github.com/RGBCube/color.v
synced 2025-07-30 17:37:45 +00:00
Fix errors, rename src to color
This commit is contained in:
parent
8d2406c71a
commit
f29d84d3a9
5 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ import rgbcube.color
|
|||
brush := color.new_brush(
|
||||
fg: color.rgb(0, 0, 0)
|
||||
bg: color.hex(0xffffff)
|
||||
style: [color.bold, color.underline, color.italic]
|
||||
styles: [color.bold, color.underline, color.italic]
|
||||
)
|
||||
|
||||
brush.println('Hello World')
|
||||
|
|
|
@ -22,7 +22,7 @@ pub fn new_brush(p BrushParams) Brush {
|
|||
fg: p.fg
|
||||
bg: p.bg
|
||||
styles: p.styles
|
||||
disabled: disabled
|
||||
disabled: p.disabled
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue