diff src/edit.c @ 29069:be6c32395444 v8.2.5056

patch 8.2.5056: the channel log only contains some of the raw terminal output Commit: https://github.com/vim/vim/commit/1d97db3d987c05af88c30ad20f537bcf3024f9c1 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 4 22:15:54 2022 +0100 patch 8.2.5056: the channel log only contains some of the raw terminal output Problem: The channel log only contains some of the raw terminal output. Solution: Add the "o" flag to log all terminal output. Use it for "--log".
author Bram Moolenaar <Bram@vim.org>
date Sat, 04 Jun 2022 23:30:03 +0200
parents 45c182c4f7e9
children 3e5166df3004
line wrap: on
line diff
--- a/src/edit.c
+++ b/src/edit.c
@@ -319,9 +319,8 @@ edit(
 #endif
     if (!p_ek)
     {
-#ifdef FEAT_JOB_CHANNEL
-	ch_log_output = TRUE;
-#endif
+	MAY_WANT_TO_LOG_THIS;
+
 	// Disable bracketed paste mode, we won't recognize the escape
 	// sequences.
 	out_str(T_BD);
@@ -3690,9 +3689,8 @@ ins_esc(
 #endif
     if (!p_ek)
     {
-#ifdef FEAT_JOB_CHANNEL
-	ch_log_output = TRUE;
-#endif
+	MAY_WANT_TO_LOG_THIS;
+
 	// Re-enable bracketed paste mode.
 	out_str(T_BE);