1
Fork 0
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:
RGBCube 2022-12-04 18:07:07 +03:00
parent 074af63905
commit ff16685151
2 changed files with 5 additions and 2 deletions

View file

@ -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
View file

@ -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: []
}