From a17a130d6c0bfa883a92ba44a2f05fb22c32196c Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Wed, 16 Mar 2005 14:39:42 +0000 Subject: [PATCH] add debugging statement git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2377 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/winio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/winio.c b/src/winio.c index 440b6c55..2e23045d 100644 --- a/src/winio.c +++ b/src/winio.c @@ -184,6 +184,10 @@ void get_buffer(WINDOW *win) /* Switch back to non-blocking input. */ nodelay(win, FALSE); + +#ifdef DEBUG + fprintf(stderr, "get_buffer(): key_buffer_len = %lu\n", (unsigned long)key_buffer_len); +#endif } /* Return the length of the default keystroke buffer. */ -- 2.39.5