summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-04-16 16:50:54 +0200
committerandromeda <andromeda@lenovo>2026-04-16 16:50:54 +0200
commitda9318338933e903fdf1b417768287df909e62a3 (patch)
tree7db338573da995c4069bc0a0782a8346ee0c169b
parent4770f441d139ca4d08dd07f1791774273c2c7533 (diff)
add license, loading screen
-rw-r--r--Cargo.toml1
-rw-r--r--src/main.rs2
2 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 5b829f0..ceca105 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,6 +2,7 @@
name = "anki-cli"
version = "0.1.0"
edition = "2024"
+license = "GPL-3.0+"
[dependencies]
[dependencies.nanohtml2text]
diff --git a/src/main.rs b/src/main.rs
index 4302c95..5eb84b4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -41,6 +41,8 @@ fn init(anki: &AnkiClient) {
_ => (),
}
}
+ clear_screen();
+ display_text("loading...");
anki.request(GuiDeckReviewRequest {
name: decks[input.parse::<usize>().unwrap()].clone(),
})