diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-03 19:25:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-03 19:25:11 +0200 |
commit | 7ca86fe8dc584141d6a73408acf3e90d8c88c7b9 (patch) | |
tree | 5e86be88c9f4ea309e8f0e5017b70ef56672b621 /src/os_win32.c | |
parent | 1f42f5a675fdab9ce5cdafbecea59c45e81f7ff8 (diff) | |
download | vim-git-7ca86fe8dc584141d6a73408acf3e90d8c88c7b9.tar.gz |
patch 8.2.1582: the channel log does not show typed textv8.2.1582
Problem: The channel log does not show typed text.
Solution: Add raw typed text to the log file.
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index 96af44364..52573fe62 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -2065,6 +2065,13 @@ theend: buf[len++] = typeahead[0]; mch_memmove(typeahead, typeahead + 1, --typeaheadlen); } +# ifdef FEAT_JOB_CHANNEL + if (len > 0) + { + buf[len] = NUL; + ch_log(NULL, "raw key input: \"%s\"", buf); + } +# endif return len; #else // FEAT_GUI_MSWIN |