feat: add status bar to showing words count, also for compiling status (#158)

* feat: add status bar to showing words count, also for compilng status

* dev: add configuration for compile status

* fix: let focus state correct

* dev: improve hint
This commit is contained in:
Myriad-Dreamin 2024-04-05 13:16:24 +08:00 committed by GitHub
parent 454127e354
commit 6722b2501f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 633 additions and 47 deletions

View file

@ -128,6 +128,7 @@ mod polymorphic {
#[derive(Debug, Clone)]
pub enum ExportKind {
Pdf,
WordCount,
Svg { page: PageSelection },
Png { page: PageSelection },
}
@ -136,6 +137,7 @@ mod polymorphic {
pub fn extension(&self) -> &str {
match self {
Self::Pdf => "pdf",
Self::WordCount => "txt",
Self::Svg { .. } => "svg",
Self::Png { .. } => "png",
}