mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Move terminal features into a single file.
This commit is contained in:
2
format.c
2
format.c
@ -2617,6 +2617,8 @@ format_defaults_client(struct format_tree *ft, struct client *c)
|
||||
format_add(ft, "client_termname", "%s", c->term_name);
|
||||
format_add(ft, "client_termfeatures", "%s",
|
||||
tty_get_features(c->term_features));
|
||||
if (c->term_type != NULL)
|
||||
format_add(ft, "client_termtype", "%s", c->term_type);
|
||||
|
||||
format_add_tv(ft, "client_created", &c->creation_time);
|
||||
format_add_tv(ft, "client_activity", &c->activity_time);
|
||||
|
Reference in New Issue
Block a user