antirez/linenoise — pull request #61 by krig (2014-04-06 19:07:48+00:00)
Title: Helper function to add history entries as tab completions

Adds function which makes it easy to add the history as
tab completions.

Usage example:

void completion(const char* buf, linenoiseCompletions* lc) {
linenoiseAddHistoryCompletions(buf, lc);
}