From f0a9d2d9880af3588b5be57c51b1a13481c34087 Mon Sep 17 00:00:00 2001 From: CGH0S7 <776459475@qq.com> Date: Thu, 11 Dec 2025 12:37:35 +0800 Subject: [PATCH] ui improved --- src/main.rs | 2 +- src/ui.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index fdd0d8d..f32fa0a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -213,4 +213,4 @@ fn run_app(terminal: &mut Terminal, app: &mut Ap } } } -} \ No newline at end of file +} diff --git a/src/ui.rs b/src/ui.rs index cee2525..60a9dac 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -33,7 +33,7 @@ pub fn ui(f: &mut Frame, app: &mut App) { // Help text let help_text = match app.input_mode { - InputMode::Normal => "Enter: Connect | m: Mosh | n: New | Shift+n: Copy ID | i: Edit | d: Delete | q: Quit | j/k: Up/Down", + InputMode::Normal => "Enter: SSH Connect | m: Mosh Connect | n: New | Shift+n: Copy ID | i: Edit | d: Delete | q: Quit", InputMode::Adding(_) => "Enter: Save | Esc: Cancel | Tab: Next Field", InputMode::Editing(_) => "Enter: Save | Esc: Cancel | Tab: Next Field", }; @@ -165,4 +165,4 @@ pub fn centered_rect(percent_x: u16, percent_y: u16, r: Rect) -> Rect { .as_ref(), ) .split(popup_layout[1])[1] -} \ No newline at end of file +}