mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:27:46 +00:00
Userland: Shorten "w" idle time format
Let's just say "123s" for now (instead of "123 sec")
This commit is contained in:
parent
6dc5cda50d
commit
4e2ccde85a
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ int main()
|
|||
if (stat(tty.characters(), &st) == 0) {
|
||||
auto idle_time = now - st.st_mtime;
|
||||
if (idle_time >= 0) {
|
||||
builder.appendf("%d sec", idle_time);
|
||||
builder.appendf("%ds", idle_time);
|
||||
idle_string = builder.to_string();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue