mirror of
https://github.com/RGBCube/color.v
synced 2025-07-31 09:57:47 +00:00
Add the useless functions back again
This commit is contained in:
parent
28d4c44d50
commit
eacaab240b
1 changed files with 24 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue