🚧 (config): Nueva gestión de opciones enumeradas

This commit is contained in:
Manuel Cillero 2025-12-15 17:24:00 +01:00
parent 7b340a19f3
commit 16d6afbd98
5 changed files with 121 additions and 48 deletions

View file

@ -78,7 +78,7 @@ impl Application {
use colored::Colorize;
use terminal_size::{terminal_size, Width};
if global::SETTINGS.app.startup_banner.to_lowercase() != "off" {
if global::SETTINGS.app.startup_banner != global::StartupBanner::Off {
// Nombre de la aplicación, ajustado al ancho del terminal si es necesario.
let mut app_ff = String::new();
let app_name = &global::SETTINGS.app.name;