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:
11
src/vim.h
11
src/vim.h
@@ -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
|
||||
|
Reference in New Issue
Block a user