Fix cursor position after tab-tab complete

This commit is contained in:
Kevin Lange 2012-10-07 20:57:58 -07:00
parent ad6d8f013e
commit 99b48f72e0

View File

@ -599,6 +599,7 @@ void tab_complete_func(rline_context_t * context) {
}
fprintf(stderr, "\n");
redraw_prompt_func(context);
fprintf(stderr, "\033[s");
rline_redraw(context);
list_free(matches);
return;