diff options
author | David Walter Seikel | 2014-01-29 13:09:37 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-01-29 13:09:37 +1000 |
commit | 326818f3df4886f6c7132cf66a97eb59ee555a29 (patch) | |
tree | c057b024ac70ba737986fbcdb96903e9157b8136 /boxes.c | |
parent | More escape sequence docs and clean ups. (diff) | |
download | boxes-326818f3df4886f6c7132cf66a97eb59ee555a29.zip boxes-326818f3df4886f6c7132cf66a97eb59ee555a29.tar.gz boxes-326818f3df4886f6c7132cf66a97eb59ee555a29.tar.bz2 boxes-326818f3df4886f6c7132cf66a97eb59ee555a29.tar.xz |
Dump the key buffer on EOF.
Diffstat (limited to 'boxes.c')
-rw-r--r-- | boxes.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1891,6 +1891,8 @@ void editLine(long extra, void (*lineChar)(long extra, char *buffer), struct key | |||
1891 | { | 1891 | { |
1892 | TT.stillRunning = 0; | 1892 | TT.stillRunning = 0; |
1893 | fprintf(stderr, "EOF\n"); | 1893 | fprintf(stderr, "EOF\n"); |
1894 | for (j = 0; buffer[j + 1]; j++) | ||
1895 | fprintf(stderr, "(%x), ", (int) buffer[j]); | ||
1894 | fflush(stderr); | 1896 | fflush(stderr); |
1895 | } | 1897 | } |
1896 | else | 1898 | else |