diff --git a/color/basic_color.v b/color/basic_color.v index ae8161a..7fc1223 100644 --- a/color/basic_color.v +++ b/color/basic_color.v @@ -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)) } diff --git a/color/true_color.v b/color/true_color.v index 207697a..3456de0 100644 --- a/color/true_color.v +++ b/color/true_color.v @@ -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)) }