Skip to content

Commit c169e18

Browse files
committed
feat: show job count
1 parent 7e12592 commit c169e18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ impl App {
282282
Span::styled(": scroll", Style::default().fg(Color::LightBlue)),
283283
Span::raw(" | "),
284284
Span::styled("home/end", Style::default().fg(Color::Blue)),
285-
Span::styled(": scroll top/bottom", Style::default().fg(Color::LightBlue)),
285+
Span::styled(": top/bottom", Style::default().fg(Color::LightBlue)),
286286
Span::raw(" | "),
287287
Span::styled("esc", Style::default().fg(Color::Blue)),
288288
Span::styled(": cancel", Style::default().fg(Color::LightBlue)),
@@ -353,7 +353,7 @@ impl App {
353353
let job_list = List::new(jobs)
354354
.block(
355355
Block::default()
356-
.title("Job Queue")
356+
.title(format!("Jobs ({})", self.jobs.len()))
357357
.borders(Borders::ALL)
358358
.border_style(if self.dialog.is_some() {
359359
Style::default()

0 commit comments

Comments
 (0)