+2015-06-11 Benno Schulenberg <bensberg@justemail.net>
+ * src/winio.c (get_key_buffer): Add some debugging code to make it
+ easy to see what codes a key stroke produces.
+
2015-06-07 Benno Schulenberg <bensberg@justemail.net>
* doc/texinfo/nano.texi: Show the node with the command-line options
in the main menu, to make it easy to find.
nodelay(win, FALSE);
#ifdef DEBUG
- fprintf(stderr, "get_key_buffer(): key_buffer_len = %lu\n", (unsigned long)key_buffer_len);
+ {
+ size_t i;
+ fprintf(stderr, "get_key_buffer(): the series of codes:");
+ for (i = 0; i < key_buffer_len; i++)
+ fprintf(stderr, " %3x", key_buffer[i]);
+ fprintf(stderr, "\n");
+ }
#endif
}