Problem: The channel log does not show typed text.
Solution: Add raw typed text to the log file.
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
# 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;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1582,
/**/
1581,
/**/