summaryrefslogtreecommitdiff
path: root/src
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 /src
parent4770f441d139ca4d08dd07f1791774273c2c7533 (diff)
add license, loading screen
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
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(),
})