mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Add a format for number of bytes writtent to client, useful for debugging.
This commit is contained in:
1
format.c
1
format.c
@ -1154,6 +1154,7 @@ format_defaults_client(struct format_tree *ft, struct client *c)
|
||||
|
||||
format_add_tv(ft, "client_created", &c->creation_time);
|
||||
format_add_tv(ft, "client_activity", &c->activity_time);
|
||||
format_add(ft, "client_written", "%zu", tty->written);
|
||||
|
||||
name = server_client_get_key_table(c);
|
||||
if (strcmp(c->keytable->name, name) == 0)
|
||||
|
Reference in New Issue
Block a user