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/main.c b/src/main.c
index b72c9ae..b92be4c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -152,7 +152,7 @@
# endif
# ifdef FEAT_JOB_CHANNEL
if (STRICMP(argv[i], "--log") == 0)
- ch_logfile((char_u *)(argv[i + 1]), (char_u *)"a");
+ ch_logfile((char_u *)(argv[i + 1]), (char_u *)"ao");
# endif
}
#endif