client: update known-networks to use display_table_row
This commit is contained in:
parent
89a86d0975
commit
5bf1410ac4
|
@ -210,9 +210,9 @@ static void known_network_display_inline(const char *margin, const void *data)
|
||||||
l_strdup(format_iso8601(network->last_connected,
|
l_strdup(format_iso8601(network->last_connected,
|
||||||
"%b %e, %l:%M %p"));
|
"%b %e, %l:%M %p"));
|
||||||
|
|
||||||
display("%s%-*s%-*s%-*s%-*s\n",
|
display_table_row(margin, 4, 32, network->name, 11, network->type,
|
||||||
margin, 32, network->name, 11, network->type,
|
9, get_hidden_tostr(network),
|
||||||
9, get_hidden_tostr(network), 19, last_connected ? : "-");
|
19, last_connected ? : "-");
|
||||||
|
|
||||||
l_free(last_connected);
|
l_free(last_connected);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue