🚧 Actualiza dependencias y revisa código
This commit is contained in:
parent
8856699c3b
commit
c046014d04
4 changed files with 678 additions and 547 deletions
|
|
@ -2,15 +2,15 @@ use crate::global;
|
|||
|
||||
use std::sync::LazyLock;
|
||||
|
||||
use figlet_rs::FIGfont;
|
||||
use figlet_rs::FIGlet;
|
||||
|
||||
pub static FIGFONT: LazyLock<FIGfont> = LazyLock::new(|| {
|
||||
pub static FIGFONT: LazyLock<FIGlet> = LazyLock::new(|| {
|
||||
let slant = include_str!("slant.flf");
|
||||
let small = include_str!("small.flf");
|
||||
let speed = include_str!("speed.flf");
|
||||
let starwars = include_str!("starwars.flf");
|
||||
|
||||
FIGfont::from_content(match global::SETTINGS.app.startup_banner {
|
||||
FIGlet::from_content(match global::SETTINGS.app.startup_banner {
|
||||
global::StartupBanner::Off | global::StartupBanner::Slant => slant,
|
||||
global::StartupBanner::Small => small,
|
||||
global::StartupBanner::Speed => speed,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue