commit | 3cea8a9a51c7b26a01a75dc29d9d8a621fc70b57 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Oct 17 21:55:24 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Oct 17 21:55:24 2019 +0200 |
tree | c0e838e2295808258b37315051c538aff8c6d638 | |
parent | b1ba9abcb385b0a5355788a7eefef78ec68d2f65 [diff] [blame] |
patch 8.1.2169: terminal flags are never reset Problem: Terminal flags are never reset. Solution: Reset the flags when setting 'term'.
diff --git a/src/term.c b/src/term.c index 2158fe3..b287121 100644 --- a/src/term.c +++ b/src/term.c
@@ -1957,6 +1957,8 @@ #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)