mirror of
https://github.com/RGBCube/color.v
synced 2025-07-30 17: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 {
|
||||
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 {
|
||||
name: 'color'
|
||||
description: 'An easier way to print colored text to the terminal.'
|
||||
version: '1.2.3'
|
||||
version: '1.2.4'
|
||||
license: 'MIT'
|
||||
dependencies: []
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue