From a8949500a3135be39894c813d39201a4df3262b7 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sun, 20 Nov 2022 21:33:45 +0300 Subject: [PATCH] Add test file again --- test.v | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test.v diff --git a/test.v b/test.v new file mode 100644 index 0000000..a2e3ebb --- /dev/null +++ b/test.v @@ -0,0 +1,17 @@ +module main + +import color + +fn main() { + color.red.cprintln('Hello World') + color.black.cprintln_bg('Hello World') + color.bold.cprintln('Hello World') + + brush := color.new_brush( + fg: color.rgb(0, 0, 0) + bg: color.hex(0xffffff) + styles: [color.bold, color.dim, color.italic] + )! + + brush.cprintln('Hello World') +}