From 7ca86fe8dc584141d6a73408acf3e90d8c88c7b9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 3 Sep 2020 19:25:11 +0200 Subject: 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. --- src/ui.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index fc24a01b4..7c8667559 100644 --- a/src/ui.c +++ b/src/ui.c @@ -949,6 +949,13 @@ fill_input_buf(int exit_on_error UNUSED) # 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; -- cgit v1.2.1