forked from aniani/vim
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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user