aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlukeflo2024-11-29 11:26:50 +0100
committerlukeflo2024-11-29 11:26:50 +0100
commitb1011a6cc184cc7688de03de04db19a5cbb4312b (patch)
treeedfdc7f260326171cf715fa12963c81b513f87d2 /src
parentc4d82e66bdd253cf97fd0a04c251b29e82edc92b (diff)
downloadbibiman-b1011a6cc184cc7688de03de04db19a5cbb4312b.tar.gz
bibiman-b1011a6cc184cc7688de03de04db19a5cbb4312b.zip
new() fn for colors struct
Diffstat (limited to 'src')
-rw-r--r--src/tui/colors.rs6
1 files changed, 3 insertions, 3 deletions
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