Skip to content

Commit

Permalink
Update TextUI.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
chukfinley authored Jul 28, 2023
1 parent 99d065d commit e85cd36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/TextUI.cc
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,11 @@ void TextUI::drawui()

move(row,58);
if( ic->getIdleSeconds() < 60 )
printw("%ds",ic->getIdleSeconds());
printw("%lds",ic->getIdleSeconds());
else if( ic->getIdleSeconds() < 3600 )
printw("%dm",ic->getIdleSeconds()/60);
printw("%ldm",ic->getIdleSeconds()/60);
else
printw("%dh",ic->getIdleSeconds()/3600);
printw("%ldh",ic->getIdleSeconds()/3600);

move(row,63);
if( ic->activityToggle() )
Expand Down

0 comments on commit e85cd36

Please sign in to comment.