From: David Lawrence Ramsey Date: Wed, 16 Mar 2005 14:39:42 +0000 (+0000) Subject: add debugging statement X-Git-Tag: v1.3.6~26 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a17a130d6c0bfa883a92ba44a2f05fb22c32196c;p=nano.git add debugging statement git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2377 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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. */