mirror of
https://github.com/RGBCube/color.v
synced 2025-08-01 18:37:45 +00:00
Fix new_brush_pointer and bump version
This commit is contained in:
parent
074af63905
commit
ff16685151
2 changed files with 5 additions and 2 deletions
|
@ -31,7 +31,10 @@ pub fn new_brush(p BrushParams) Brush {
|
||||||
|
|
||||||
pub fn new_brush_pointer(p BrushParams) &Brush {
|
pub fn new_brush_pointer(p BrushParams) &Brush {
|
||||||
return &BrushImpl{
|
return &BrushImpl{
|
||||||
...new_brush(p)
|
fg: p.fg
|
||||||
|
bg: p.bg
|
||||||
|
styles: p.styles
|
||||||
|
disabled: p.disabled
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
v.mod
2
v.mod
|
@ -1,7 +1,7 @@
|
||||||
Module {
|
Module {
|
||||||
name: 'color'
|
name: 'color'
|
||||||
description: 'An easier way to print colored text to the terminal.'
|
description: 'An easier way to print colored text to the terminal.'
|
||||||
version: '1.2.3'
|
version: '1.2.4'
|
||||||
license: 'MIT'
|
license: 'MIT'
|
||||||
dependencies: []
|
dependencies: []
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue