realign tracks

This commit is contained in:
i do not exist 2026-08-31 00:14:54 +03:00
parent 1082f62696
commit 3deef0641d
4 changed files with 94 additions and 111 deletions

View file

@ -16,15 +16,15 @@ pub fn show_version () {
#[allow(unused)]
#[hotpath::main]
fn main () -> Usually<()> {
//#[cfg(feature = "prof")] let _flame_guard = {
//use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
////let tracy = tracing_tracy::TracyLayer::default();
//let (flame, _guard) = tracing_flame::FlameLayer::with_file("./tracing.folded").unwrap();
////let registry = tracing_subscriber::registry().with(flame).init();
////tracing::subscriber::set_global_default(registry)?;
//tracing::subscriber::set_global_default(tracing_subscriber::registry().with(flame))?;
//_guard
//};
#[cfg(feature = "prof")] let _flame_guard = {
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
//let tracy = tracing_tracy::TracyLayer::default();
let (flame, _guard) = tracing_flame::FlameLayer::with_file("./tracing.folded").unwrap();
//let registry = tracing_subscriber::registry().with(flame).init();
//tracing::subscriber::set_global_default(registry)?;
tracing::subscriber::set_global_default(tracing_subscriber::registry().with(flame))?;
_guard
};
tengri::Tui::setup_panic();
#[cfg(feature = "cli")] let outcome = Config::watched(crate::cli::run_with_config);
#[cfg(not(feature = "cli"))] let outcome = Config::watched(run_new_plain);
@ -963,7 +963,7 @@ mod draw {
format!("{}/{} {} ",
self.perf.used.load(Relaxed),
self.perf.window.load(Relaxed),
self.perf.clock.raw() / 1000000000),
self.perf.clock.raw() / 10000000),
).align_se().draw(to)
}
}