diff options
| author | lukeflo | 2024-11-29 11:26:50 +0100 |
|---|---|---|
| committer | lukeflo | 2024-11-29 11:26:50 +0100 |
| commit | b1011a6cc184cc7688de03de04db19a5cbb4312b (patch) | |
| tree | edfdc7f260326171cf715fa12963c81b513f87d2 /src/tui | |
| parent | c4d82e66bdd253cf97fd0a04c251b29e82edc92b (diff) | |
| download | bibiman-b1011a6cc184cc7688de03de04db19a5cbb4312b.tar.gz bibiman-b1011a6cc184cc7688de03de04db19a5cbb4312b.zip | |
new() fn for colors struct
Diffstat (limited to 'src/tui')
| -rw-r--r-- | src/tui/colors.rs | 6 |
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 |
