mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:07:45 +00:00
Userland: Tweak "w" output just slightly
This commit is contained in:
parent
48a0b76a77
commit
ae9c5bf216
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ int main()
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("%-10s %-12s %-16s %-16s\n",
|
printf("\033[1m%-10s %-12s %-16s %-16s\033[0m\n",
|
||||||
"USER", "TTY", "FROM", "LOGIN@");
|
"USER", "TTY", "FROM", "LOGIN@");
|
||||||
json.value().as_object().for_each_member([&](auto& tty, auto& value) {
|
json.value().as_object().for_each_member([&](auto& tty, auto& value) {
|
||||||
const JsonObject& entry = value.as_object();
|
const JsonObject& entry = value.as_object();
|
||||||
auto uid = entry.get("uid").to_u32();
|
auto uid = entry.get("uid").to_u32();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue