patch 8.2.1582: the channel log does not show typed text
Problem: The channel log does not show typed text.
Solution: Add raw typed text to the log file.
diff --git a/src/os_win32.c b/src/os_win32.c
index 96af443..52573fe 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -2065,6 +2065,13 @@
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