diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-10-17 21:55:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-10-17 21:55:24 +0200 |
commit | 3cea8a9a51c7b26a01a75dc29d9d8a621fc70b57 (patch) | |
tree | c0e838e2295808258b37315051c538aff8c6d638 /src/term.c | |
parent | b1ba9abcb385b0a5355788a7eefef78ec68d2f65 (diff) |
patch 8.1.2169: terminal flags are never resetv8.1.2169
Problem: Terminal flags are never reset.
Solution: Reset the flags when setting 'term'.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c index 2158fe37fe..b287121692 100644 --- a/src/term.c +++ b/src/term.c @@ -1957,6 +1957,8 @@ set_termname(char_u *term) #if defined(UNIX) || defined(VMS) term_is_xterm = vim_is_xterm(term); #endif + is_not_xterm = FALSE; + is_mac_terminal = FALSE; #ifdef FEAT_MOUSE # if defined(UNIX) || defined(VMS) |