diff options
Diffstat (limited to 'rl_helper.h')
-rw-r--r-- | rl_helper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rl_helper.h b/rl_helper.h index 756a79a..beeed8c 100644 --- a/rl_helper.h +++ b/rl_helper.h @@ -13,8 +13,8 @@ void rl_set_prompt(const char *str); void rl_set_tab_completer(tab_completer_callback cb); /* close resources */ void rl_quit(); -/* add char to line buffer */ -void rl_feed(int c); +/* add char to line buffer, returns false on ctrl-d */ +bool rl_feed(int c); /* printf version */ void rl_printf(const char *fmt, ...); |