diff options
author | nicm <nicm> | 2022-03-08 11:28:40 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-06 14:19:50 +0100 |
commit | 8aed44420152b87e08f8f120ffbe4a888ee5d951 (patch) | |
tree | 1f8490951b79fba025008139debd775fa7bb1c13 /cmd-list-clients.c | |
parent | f97d784f172a10e0444ad93bb536ee0428613aa7 (diff) | |
download | rtmux-8aed44420152b87e08f8f120ffbe4a888ee5d951.tar.gz rtmux-8aed44420152b87e08f8f120ffbe4a888ee5d951.tar.bz2 rtmux-8aed44420152b87e08f8f120ffbe4a888ee5d951.zip |
Add formats for client and server UID and user (for multiuser setups).
Diffstat (limited to 'cmd-list-clients.c')
-rw-r--r-- | cmd-list-clients.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-list-clients.c b/cmd-list-clients.c index a5b7d147..53a99178 100644 --- a/cmd-list-clients.c +++ b/cmd-list-clients.c @@ -31,6 +31,8 @@ #define LIST_CLIENTS_TEMPLATE \ "#{client_name}: #{session_name} " \ "[#{client_width}x#{client_height} #{client_termname}] " \ + "#{?#{!=:#{client_uid},#{uid}}," \ + "[user #{?client_user,#{client_user},#{client_uid},}] ,}" \ "#{?client_flags,(,}#{client_flags}#{?client_flags,),}" static enum cmd_retval cmd_list_clients_exec(struct cmd *, struct cmdq_item *); |