diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-30 18:12:19 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-30 18:12:19 +0000 |
commit | 4c5678ff0c376661d4a8183a5a074a1203413b9d (patch) | |
tree | 2ddd73cae34d17f2eb4290fda1131bb63f4a0fab /src/os_win32.c | |
parent | a87749e3eae3f918b6678f45cf975f0cf06d3e97 (diff) |
patch 9.0.0977: it is not easy to see what client-server commands are doingv9.0.0977
Problem: It is not easy to see what client-server commands are doing.
Solution: Add channel log messages if ch_log() is available. Move the
channel logging and make it available with the +eval feature.
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index acbc4cb7d0..334d9735ee 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -2222,7 +2222,7 @@ theend: buf[len++] = typeahead[0]; mch_memmove(typeahead, typeahead + 1, --typeaheadlen); } -# ifdef FEAT_JOB_CHANNEL +# ifdef FEAT_EVAL if (len > 0) { buf[len] = NUL; @@ -4923,7 +4923,7 @@ mch_call_shell( int tmode = cur_tmode; WCHAR szShellTitle[512]; -#ifdef FEAT_JOB_CHANNEL +#ifdef FEAT_EVAL ch_log(NULL, "executing shell command: %s", cmd); #endif // Change the title to reflect that we are in a subshell. |