0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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".
This commit is contained in:
Bram Moolenaar
2022-06-04 22:15:54 +01:00
parent 327e6dd822
commit 1d97db3d98
10 changed files with 58 additions and 63 deletions

View File

@@ -1479,6 +1479,17 @@ typedef enum
#define MAYBE 2 // sometimes used for a variant on TRUE
#define LOG_ALWAYS 9 // must be different from TRUE and FALSE
#ifdef FEAT_JOB_CHANNEL
// If "--log logfile" was used or ch_logfile() was called then log some or all
// terminal output.
# define MAY_WANT_TO_LOG_THIS if (ch_log_output == FALSE) ch_log_output = TRUE;
#else
// no logging support
# define MAY_WANT_TO_LOG_THIS
#endif
#ifndef UINT32_T
typedef UINT32_TYPEDEF UINT32_T;
#endif