summaryrefslogtreecommitdiffstats
path: root/src/main.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/main.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/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index b72c9aecfc..b92be4cfef 100644
--- a/src/main.c
+++ b/src/main.c
@@ -152,7 +152,7 @@ main
# 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