Remove "global" prefix from TUI (#3146)

This commit is contained in:
Dongjia "toka" Zhang 2025-04-09 11:22:18 +02:00 committed by GitHub
parent 8683c68e59
commit d1f566c441
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -512,23 +512,23 @@ impl TuiUi {
};
let items = vec![
Row::new(vec![
Cell::from(Span::raw("global run time")),
Cell::from(Span::raw("run time")),
Cell::from(Span::raw(format_duration_hms(&(current_time() - tup.0)))),
]),
Row::new(vec![
Cell::from(Span::raw("global exec speed")),
Cell::from(Span::raw("exec speed")),
Cell::from(Span::raw(&tup.1.exec_speed)),
]),
Row::new(vec![
Cell::from(Span::raw("global total execs")),
Cell::from(Span::raw("total execs")),
Cell::from(Span::raw(format_big_number(tup.1.total_execs))),
]),
Row::new(vec![
Cell::from(Span::raw("global last new entry")),
Cell::from(Span::raw("last new entry")),
Cell::from(Span::raw(format_duration_hms(&(tup.1.last_new_entry)))),
]),
Row::new(vec![
Cell::from(Span::raw("global last solution")),
Cell::from(Span::raw("last solution")),
Cell::from(Span::raw(format_duration_hms(&(tup.1.last_saved_solution)))),
]),
];