Fixed the emacs terminal to delete completion windows on input
rather than output, so long running jobs won't automatically close
the bash completion windows for another terminal.