comparison src/optionstr.c @ 22091:9bb1c984c4da v8.2.1595

patch 8.2.1595: cannot easily see what Vim sends to the terminal Commit: https://github.com/vim/vim/commit/86394aa9720c5e087d85831e42d44e042987fbc0 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 5 14:27:24 2020 +0200 patch 8.2.1595: cannot easily see what Vim sends to the terminal 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Sep 2020 14:30:03 +0200
parents 2c40e60017a8
children 92a100fc5e17
comparison
equal deleted inserted replaced
22090:a6f58b8aa1af 22091:9bb1c984c4da
1432 mch_set_normal_colors(); 1432 mch_set_normal_colors();
1433 #endif 1433 #endif
1434 } 1434 }
1435 if (varp == &T_BE && termcap_active) 1435 if (varp == &T_BE && termcap_active)
1436 { 1436 {
1437 #ifdef FEAT_JOB_CHANNEL
1438 ch_log_output = TRUE;
1439 #endif
1437 if (*T_BE == NUL) 1440 if (*T_BE == NUL)
1438 // When clearing t_BE we assume the user no longer wants 1441 // When clearing t_BE we assume the user no longer wants
1439 // bracketed paste, thus disable it by writing t_BD. 1442 // bracketed paste, thus disable it by writing t_BD.
1440 out_str(T_BD); 1443 out_str(T_BD);
1441 else 1444 else