aboutsummaryrefslogtreecommitdiff
path: root/tty-term.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 /tty-term.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 'tty-term.c')
-rw-r--r--tty-term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty-term.c b/tty-term.c
index 52468faf..164ab2f1 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -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);