From 1d97db3d987c05af88c30ad20f537bcf3024f9c1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 4 Jun 2022 22:15:54 +0100 Subject: 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". --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') 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 -- cgit v1.2.3