summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-06-04 22:15:54 +0100
committerBram Moolenaar <Bram@vim.org>2022-06-04 22:15:54 +0100
commit1d97db3d987c05af88c30ad20f537bcf3024f9c1 (patch)
tree2835145bad19eeca6d90bd3360b12f8ffd2f9d4b /src/edit.c
parent327e6dd82235d70f6d5aa33ac8281e7fd79b7381 (diff)
patch 8.2.5056: the channel log only contains some of the raw terminal outputv8.2.5056
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".
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/edit.c b/src/edit.c
index 443e023d5c..dbfa0ae5f9 100644
--- 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);