mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Use client name when logging command queue.
This commit is contained in:
@ -32,11 +32,11 @@ static struct cmdq_list global_queue = TAILQ_HEAD_INITIALIZER(global_queue);
|
||||
static const char *
|
||||
cmdq_name(struct client *c)
|
||||
{
|
||||
static char s[32];
|
||||
static char s[256];
|
||||
|
||||
if (c == NULL)
|
||||
return ("<global>");
|
||||
xsnprintf(s, sizeof s, "<%p>", c);
|
||||
xsnprintf(s, sizeof s, "<%s>", c->name);
|
||||
return (s);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user