summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-01-12 21:07:08 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-01-12 21:07:08 +0000
commiteaed6de2b0f3a5fa24216f02a247329be9f727cd (patch)
tree0c134d811eb0cf5aeef5b70c8d722fdc891ae68c /usr.bin/tmux/tty-term.c
parent0e2492cff7104d3ccbac5039182fedfbe0c0fa17 (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/tty-term.c')
-rw-r--r--usr.bin/tmux/tty-term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty-term.c b/usr.bin/tmux/tty-term.c
index 3835454505d..7f3edd3ecd0 100644
--- a/usr.bin/tmux/tty-term.c
+++ b/usr.bin/tmux/tty-term.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty-term.c,v 1.69 2019/11/28 09:56:25 nicm Exp $ */
+/* $OpenBSD: tty-term.c,v 1.70 2020/01/12 21:07:07 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -538,7 +538,7 @@ tty_term_find(char *name, int fd, char **cause)
* do the best possible.
*/
if (!tty_term_flag(term, TTYC_XENL))
- term->flags |= TERM_EARLYWRAP;
+ term->flags |= TERM_NOXENL;
/* Generate ACS table. If none is present, use nearest ASCII. */
memset(term->acs, 0, sizeof term->acs);