1
Fork 0
mirror of https://github.com/RGBCube/color.v synced 2025-07-31 09:57:47 +00:00

Rearrange functions

This commit is contained in:
RGBCube 2022-11-18 20:56:36 +03:00
parent eacaab240b
commit 99349cb85d
2 changed files with 8 additions and 8 deletions

View file

@ -79,14 +79,14 @@ pub fn (c BasicColor) cprint(msg string) {
print(c.render(msg))
}
pub fn (c BasicColor) cprintln(msg string) {
println(c.render(msg))
}
pub fn (c BasicColor) cprint_bg(msg string) {
print(c.render_bg(msg))
}
pub fn (c BasicColor) cprintln(msg string) {
println(c.render(msg))
}
pub fn (c BasicColor) cprintln_bg(msg string) {
println(c.render_bg(msg))
}

View file

@ -37,14 +37,14 @@ pub fn (c TrueColor) cprint(msg string) {
print(c.render(msg))
}
pub fn (c TrueColor) cprintln(msg string) {
println(c.render(msg))
}
pub fn (c TrueColor) cprint_bg(msg string) {
print(c.render_bg(msg))
}
pub fn (c TrueColor) cprintln(msg string) {
println(c.render(msg))
}
pub fn (c TrueColor) cprintln_bg(msg string) {
println(c.render_bg(msg))
}