diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-05 14:27:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-05 14:27:24 +0200 |
commit | 86394aa9720c5e087d85831e42d44e042987fbc0 (patch) | |
tree | 853c38b28ea57594f1daec276c9fcc2b94c08bf1 /src/optionstr.c | |
parent | cf8aa6448b3520905bea528ea8ad6533cbef288d (diff) | |
download | vim-git-86394aa9720c5e087d85831e42d44e042987fbc0.tar.gz |
patch 8.2.1595: cannot easily see what Vim sends to the terminalv8.2.1595
Problem: Cannot easily see what Vim sends to the terminal.
Solution: Write output to the channel log if it contains terminal control
sequences. Avoid warnings for tputs() argument.
Diffstat (limited to 'src/optionstr.c')
-rw-r--r-- | src/optionstr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/optionstr.c b/src/optionstr.c index 177ce859f..430e3c34c 100644 --- a/src/optionstr.c +++ b/src/optionstr.c @@ -1434,6 +1434,9 @@ did_set_string_option( } if (varp == &T_BE && termcap_active) { +#ifdef FEAT_JOB_CHANNEL + ch_log_output = TRUE; +#endif if (*T_BE == NUL) // When clearing t_BE we assume the user no longer wants // bracketed paste, thus disable it by writing t_BD. |