Simplified autocompleters and command history

This commit is contained in:
James Booth
2015-01-16 22:50:40 +00:00
parent 7a5deca77c
commit 4c6cfcdca0
28 changed files with 315 additions and 456 deletions

View File

@@ -204,15 +204,15 @@ ui_readline(void)
}
void
ui_input_clear(void)
ui_inp_history_append(char *inp)
{
inp_win_reset();
inp_history_append(inp);
}
void
ui_replace_input(char *input, const char * const new_input, int *size)
ui_input_clear(void)
{
inp_replace_input(input, new_input, size);
inp_win_reset();
}
void