From 99349cb85df8e0334daef1c2185133b74ea833f3 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Fri, 18 Nov 2022 20:56:36 +0300 Subject: [PATCH] Rearrange functions --- color/basic_color.v | 8 ++++---- color/true_color.v | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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)) }