]> git.wh0rd.org Git - nano.git/commitdiff
add debugging statement
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 16 Mar 2005 14:39:42 +0000 (14:39 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 16 Mar 2005 14:39:42 +0000 (14:39 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2377 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/winio.c

index 440b6c556190543b0b8e6221e62a72de307e16c4..2e23045dc9190fd09e15864cd353f1ce5e9dd13e 100644 (file)
@@ -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. */