ctl-client: Remove decorations in client/output lists

Those decorations do not appear to improve readability or
parsability.
wayvncctl-polishing
Andri Yngvason 2023-01-15 17:24:55 +00:00
parent b1f0146306
commit bc647a19c0
1 changed files with 2 additions and 2 deletions

View File

@ -359,7 +359,7 @@ static void pretty_client_list(json_t* data)
json_unpack(value, "{s:s, s?s, s?s}", "id", &id, "hostname", json_unpack(value, "{s:s, s?s, s?s}", "id", &id, "hostname",
&hostname, "username", &username); &hostname, "username", &username);
printf(" client[%s]: ", id); printf(" %s: ", id);
if (username) if (username)
printf("%s@", username); printf("%s@", username);
@ -384,7 +384,7 @@ static void pretty_output_list(json_t* data)
"height", &height, "height", &height,
"width", &width, "width", &width,
"captured", &captured); "captured", &captured);
printf("%s output[%s]: %s (%dx%d)\n", printf("%s %s: \"%s\" (%dx%d)\n",
captured ? "*" : " ", name, description, width, captured ? "*" : " ", name, description, width,
height); height);
} }