mirror of
https://github.com/RGBCube/color.v
synced 2025-08-01 10:27:45 +00:00
Rearrange functions
This commit is contained in:
parent
eacaab240b
commit
99349cb85d
2 changed files with 8 additions and 8 deletions
|
@ -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))
|
||||
}
|
||||
|
|
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue