From b1011a6cc184cc7688de03de04db19a5cbb4312b Mon Sep 17 00:00:00 2001 From: lukeflo Date: Fri, 29 Nov 2024 11:26:50 +0100 Subject: new() fn for colors struct --- src/tui/colors.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tui') diff --git a/src/tui/colors.rs b/src/tui/colors.rs index 3ea6e86..1eb75ef 100644 --- a/src/tui/colors.rs +++ b/src/tui/colors.rs @@ -55,9 +55,9 @@ impl Default for AppColors { } impl AppColors { - // pub fn new() -> Self { - // Self::default() - // } + pub fn new() -> Self { + Self::default() + } pub fn main_text_color(&mut self, index: u8) { self.main_text_color = index -- cgit v1.2.3