summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c7
1 files changed, 7 insertions, 0 deletions
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;