pub type Completer = fn(&str) -> String;
Prototype of the tab-completer. The input is buffered text when tab asserted; the output will fully replace the input buffer.