From 193e637de050e3757698812e9a87b869c87def6c Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 12 Jan 2020 21:07:07 +0000 Subject: The terminal type was never as much use as I expected so remove it in favour of a couple of flags for the features used (DECSLRM and DECFRA). Also rename the flag for no xenl to be more obvious while here. --- format.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'format.c') diff --git a/format.c b/format.c index eaff6115..f5e7b2ce 100644 --- a/format.c +++ b/format.c @@ -2346,7 +2346,6 @@ format_defaults_client(struct format_tree *ft, struct client *c) struct session *s; const char *name; struct tty *tty = &c->tty; - const char *types[] = TTY_TYPES; if (ft->s == NULL) ft->s = c->session; @@ -2364,8 +2363,6 @@ format_defaults_client(struct format_tree *ft, struct client *c) if (tty->term_name != NULL) format_add(ft, "client_termname", "%s", tty->term_name); - if (tty->term_name != NULL) - format_add(ft, "client_termtype", "%s", types[tty->term_type]); format_add_tv(ft, "client_created", &c->creation_time); format_add_tv(ft, "client_activity", &c->activity_time); -- cgit