summaryrefslogtreecommitdiff
path: root/src/optionstr.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-05 14:27:24 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-05 14:27:24 +0200
commit86394aa9720c5e087d85831e42d44e042987fbc0 (patch)
tree853c38b28ea57594f1daec276c9fcc2b94c08bf1 /src/optionstr.c
parentcf8aa6448b3520905bea528ea8ad6533cbef288d (diff)
downloadvim-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.c3
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.