summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(),
})