From 0603746d7c84d52a0df91e9666f6dfb5ebd06315 Mon Sep 17 00:00:00 2001 From: jasonwitty Date: Sun, 26 Oct 2025 02:18:01 -0700 Subject: [PATCH] cargo fmt --- socktop/src/app.rs | 4 ++-- socktop/src/ui/modal.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/socktop/src/app.rs b/socktop/src/app.rs index 36e750b..bb0153d 100644 --- a/socktop/src/app.rs +++ b/socktop/src/app.rs @@ -655,12 +655,12 @@ impl App { ) { self.should_quit = true; } - + // Show About modal on 'a' or 'A' if matches!(k.code, KeyCode::Char('a') | KeyCode::Char('A')) { self.modal_manager.push_modal(ModalType::About); } - + // Per-core scroll via keys (Up/Down/PageUp/PageDown/Home/End) let sz = terminal.size()?; let area = Rect::new(0, 0, sz.width, sz.height); diff --git a/socktop/src/ui/modal.rs b/socktop/src/ui/modal.rs index f767482..46769ef 100644 --- a/socktop/src/ui/modal.rs +++ b/socktop/src/ui/modal.rs @@ -416,7 +416,7 @@ impl ModalManager { "#; let version = env!("CARGO_PKG_VERSION"); - + let about_text = format!( "{}\n\ Version {}\n\