Skip to content

Commit de1773a

Browse files
authored
feat(ui): add grouping hint to status bar (#125)
1 parent 45c7ece commit de1773a

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

src/ui.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3034,21 +3034,15 @@ fn draw_status_bar(f: &mut Frame, ui_state: &UIState, connection_count: usize, a
30343034
if time.elapsed().as_secs() < 3 {
30353035
format!(" {} ", msg)
30363036
} else {
3037-
format!(
3038-
" Press 'h' for help | 'c' to copy address | Connections: {} ",
3039-
connection_count
3040-
)
3037+
" 'h' help | Tab/Shift+Tab switch tabs | '/' filter | 'a' group | 'c' copy ".to_string()
30413038
}
30423039
} else if !ui_state.filter_query.is_empty() {
30433040
format!(
30443041
" 'h' help | Tab/Shift+Tab switch tabs | Showing {} filtered connections (Esc to clear) ",
30453042
connection_count
30463043
)
30473044
} else {
3048-
format!(
3049-
" 'h' help | Tab/Shift+Tab switch tabs | '/' filter | 'c' copy | Connections: {} ",
3050-
connection_count
3051-
)
3045+
" 'h' help | Tab/Shift+Tab switch tabs | '/' filter | 'a' group | 'c' copy ".to_string()
30523046
};
30533047

30543048
let style = if ui_state.quit_confirmation || ui_state.clear_confirmation {

0 commit comments

Comments
 (0)