remove debuginput - sob - simple output bar | |
git clone git://git.codemadness.org/sob | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 82305fc9b1dac9d1bd37b294923a7a036e09ace4 | |
parent a7c93e01ca67a6fd1fcb9aa81f448f27b9d87526 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Fri, 10 Oct 2014 20:03:18 +0000 | |
remove debuginput | |
Diffstat: | |
M sob.c | 13 ------------- | |
1 file changed, 0 insertions(+), 13 deletions(-) | |
--- | |
diff --git a/sob.c b/sob.c | |
@@ -747,19 +747,6 @@ cleanup(void) | |
tcsetattr(STDIN_FILENO, TCSANOW, &ttystate); | |
} | |
-#if 0 | |
-static void | |
-debuginput(const unsigned char *key, size_t len) | |
-{ | |
- size_t i; | |
- | |
- for(i = 0; i < len; i++) | |
- fprintf(stdout, "\\x%2x", key[i]); | |
- fputc('\n', stdout); | |
- fflush(stdout); | |
-} | |
-#endif | |
- | |
static void | |
handleinput(const unsigned char *key, size_t len) | |
{ |