diff options
author | nicm <nicm> | 2020-01-12 21:07:07 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-01-12 21:07:07 +0000 |
commit | 193e637de050e3757698812e9a87b869c87def6c (patch) | |
tree | c84c8d7a796612b66f7ad9cefc286267bd86ec7a /format.c | |
parent | deb734c7f61c36e18ccc2e4fdab4f06a90575fc9 (diff) | |
download | rtmux-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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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); |