Simply by calling using_history(), one loses terminal control capabilities.
int main(int argc, char *argv)
printf("Some interesting info\n");
When compiled, linked to libedit, and piped to the command line program 'less', will display the problem, as less won't be able to use full terminal control.
I would not expect the initailization function to do this, seeing as it is only supposed to initialize interactive variables.
This is demonstrated as a problem in PHP here:
Log in to post a comment.