1
Fork 0
mirror of https://github.com/RGBCube/color.v synced 2025-08-01 18:37:45 +00:00

Add the useless functions back again

This commit is contained in:
RGBCube 2022-11-18 20:55:51 +03:00
parent 28d4c44d50
commit eacaab240b

View file

@ -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)
}