Commit 02c818f1 authored by vysheng's avatar vysheng

Update interface.c

parent a3fdd2b7
...@@ -1574,6 +1574,6 @@ void play_sound (void) { ...@@ -1574,6 +1574,6 @@ void play_sound (void) {
void set_interface_callbacks (void) { void set_interface_callbacks (void) {
readline_active = 1; readline_active = 1;
rl_callback_handler_install (get_default_prompt (), interpreter); rl_callback_handler_install (get_default_prompt (), interpreter);
rl_attempted_completion_function = (CPPFunction *) complete_text; rl_attempted_completion_function = (void *) complete_text;
rl_completion_entry_function = (void *)complete_none; rl_completion_entry_function = (void *)complete_none;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment