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/ui.c b/src/ui.c
index fc24a01..7c86675 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -949,6 +949,13 @@
# else
len = read(read_cmd_fd, (char *)inbuf + inbufcount, readlen);
# endif
+# ifdef FEAT_JOB_CHANNEL
+ if (len > 0)
+ {
+ inbuf[inbufcount + len] = NUL;
+ ch_log(NULL, "raw key input: \"%s\"", inbuf + inbufcount);
+ }
+# endif
if (len > 0 || got_int)
break;