* @throws java.io.IOException stream
*/
private void displayCompletion(TerminalString completion, Buffer buffer, PrintStream out,
boolean appendSpace, char separator) throws IOException {
if(completion.getCharacters().startsWith(buffer.getMultiLine())) {
consoleBuffer.performAction(new PrevWordAction(buffer.getMultiCursor(), Action.DELETE, Mode.EMACS));
buffer.write(completion.getCharacters());
out.print(completion);
//only append space if its an actual complete, not a partial
}