don't display command output twice.
display initial output of command.
send input to command when pressing enter on last line.

still a bit broken for commands that don't output anything.