From eacaab240b9272963a53dd5edff6fddfdd6687bd Mon Sep 17 00:00:00 2001 From: RGBCube Date: Fri, 18 Nov 2022 20:55:51 +0300 Subject: [PATCH] Add the useless functions back again --- color/color.v | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/color/color.v b/color/color.v index c54c8b0..d5961b0 100644 --- a/color/color.v +++ b/color/color.v @@ -1,3 +1,27 @@ module color pub type Color = BasicColor | TrueColor + +pub fn (c Color) render(msg string) string { + return c.render(msg) +} + +pub fn (c Color) render_bg(msg string) string { + return c.render_bg(msg) +} + +pub fn (c Color) cprint(msg string) { + c.cprint(msg) +} + +pub fn (c Color) cprintln(msg string) { + c.cprintln(msg) +} + +pub fn (c Color) cprint_bg(msg string) { + c.cprint_bg(msg) +} + +pub fn (c Color) cprintln_bg(msg string) { + c.cprintln_bg(msg) +}