diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-01-12 21:07:08 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-01-12 21:07:08 +0000 |
commit | eaed6de2b0f3a5fa24216f02a247329be9f727cd (patch) | |
tree | 0c134d811eb0cf5aeef5b70c8d722fdc891ae68c /usr.bin/tmux/format.c | |
parent | 0e2492cff7104d3ccbac5039182fedfbe0c0fa17 (diff) |
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 'usr.bin/tmux/format.c')
-rw-r--r-- | usr.bin/tmux/format.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/tmux/format.c b/usr.bin/tmux/format.c index 51778d89b8b..07985f12d4a 100644 --- a/usr.bin/tmux/format.c +++ b/usr.bin/tmux/format.c @@ -1,4 +1,4 @@ -/* $OpenBSD: format.c,v 1.222 2019/12/26 14:48:29 nicm Exp $ */ +/* $OpenBSD: format.c,v 1.223 2020/01/12 21:07:07 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |