aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-01-29 13:09:37 +1000
committerDavid Walter Seikel2014-01-29 13:09:37 +1000
commit326818f3df4886f6c7132cf66a97eb59ee555a29 (patch)
treec057b024ac70ba737986fbcdb96903e9157b8136
parentMore escape sequence docs and clean ups. (diff)
downloadboxes-326818f3df4886f6c7132cf66a97eb59ee555a29.zip
boxes-326818f3df4886f6c7132cf66a97eb59ee555a29.tar.gz
boxes-326818f3df4886f6c7132cf66a97eb59ee555a29.tar.bz2
boxes-326818f3df4886f6c7132cf66a97eb59ee555a29.tar.xz
Dump the key buffer on EOF.
-rw-r--r--boxes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/boxes.c b/boxes.c
index b188b37..7cfee6b 100644
--- a/boxes.c
+++ b/boxes.c
@@ -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