aboutsummaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authornicm <nicm>2020-01-12 21:07:07 +0000
committernicm <nicm>2020-01-12 21:07:07 +0000
commit193e637de050e3757698812e9a87b869c87def6c (patch)
treec84c8d7a796612b66f7ad9cefc286267bd86ec7a /format.c
parentdeb734c7f61c36e18ccc2e4fdab4f06a90575fc9 (diff)
downloadrtmux-193e637de050e3757698812e9a87b869c87def6c.tar.gz
rtmux-193e637de050e3757698812e9a87b869c87def6c.tar.bz2
rtmux-193e637de050e3757698812e9a87b869c87def6c.zip
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.
Diffstat (limited to 'format.c')
-rw-r--r--format.c3
1 files changed, 0 insertions, 3 deletions
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);