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".
diff --git a/src/edit.c b/src/edit.c
index 443e023..dbfa0ae 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -319,9 +319,8 @@
#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 @@
#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);