summaryrefslogtreecommitdiffstats
path: root/linenoise/linenoise.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-09 06:25:21 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-09 06:25:21 -0700
commit76a770d9826c080f4d6be2cc959c3ce3e972c1b8 (patch)
tree04ac311f57c5b90ee005549a80429aee6bd6535f /linenoise/linenoise.h
parent64ed411ed0747d1faf8284409ba858450baa2028 (diff)
downloadtxr-76a770d9826c080f4d6be2cc959c3ce3e972c1b8.tar.gz
txr-76a770d9826c080f4d6be2cc959c3ce3e972c1b8.tar.bz2
txr-76a770d9826c080f4d6be2cc959c3ce3e972c1b8.zip
linenoise: remove input-viewing debug function.
This is unused code which just addds to the executable size. Also it passes a char to isprint, which is undefined behavior if that char happens to be negative. * linenoise/example.c (main): Remove --keycodes option and reference to lino_print_keycodes function. * linenoise/linenoise.c, linenoise/linenoise.h (lino_print_keycodes): Function removed.
Diffstat (limited to 'linenoise/linenoise.h')
-rw-r--r--linenoise/linenoise.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/linenoise/linenoise.h b/linenoise/linenoise.h
index 0822a59b..e9fb8793 100644
--- a/linenoise/linenoise.h
+++ b/linenoise/linenoise.h
@@ -68,4 +68,3 @@ int lino_hist_save(lino_t *, const char *filename);
int lino_hist_load(lino_t *, const char *filename);
int lino_clear_screen(lino_t *);
void lino_set_multiline(lino_t *, int ml);
-void lino_print_keycodes(lino_t *);