aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukeflo2024-11-29 11:26:50 +0100
committerlukeflo2024-11-29 11:26:50 +0100
commitb1011a6cc184cc7688de03de04db19a5cbb4312b (patch)
treeedfdc7f260326171cf715fa12963c81b513f87d2
parentc4d82e66bdd253cf97fd0a04c251b29e82edc92b (diff)
downloadbibiman-b1011a6cc184cc7688de03de04db19a5cbb4312b.tar.gz
bibiman-b1011a6cc184cc7688de03de04db19a5cbb4312b.zip
new() fn for colors struct
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--src/tui/colors.rs6
3 files changed, 5 insertions, 5 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 7d543d2..603b7a1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -71,7 +71,7 @@ dependencies = [
[[package]]
name = "bibiman"
-version = "0.8.0"
+version = "0.8.1"
dependencies = [
"arboard",
"biblatex",
diff --git a/Cargo.toml b/Cargo.toml
index 768dbdf..90ca55a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "bibiman"
-version = "0.8.0"
+version = "0.8.1"
authors = ["lukeflo <lukeflo_git@posteo.de>"]
license = "GPL-3.0-or-later"
repository = "https://codeberg.org/lukeflo/bibiman"
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