@Override
public CompletionMatch complete(String prefix) {
Completion.Builder builder = Completion.builder("");
builder.add("afoo", false);
builder.add("abar", false);
return new CompletionMatch(Delimiter.EMPTY, builder.build());
}
});
console.init();
prompt = "% ";
console.on(KeyStrokes.COMPLETE);