terminal ui better job refreshing
This commit is contained in:
parent
337ec2f660
commit
04a1af2423
@ -1325,6 +1325,8 @@ async fn run_app<B: Backend>(terminal: &mut Terminal<B>, mut app: App) -> Result
|
||||
|
||||
if last_tick.elapsed() >= tick_rate {
|
||||
last_tick = Instant::now();
|
||||
// Refresh job data to show real-time updates
|
||||
let _ = app.refresh_jobs().await;
|
||||
}
|
||||
|
||||
if app.should_quit {
|
||||
|
Loading…
Reference in New Issue
Block a user