Your bug report #34821: discard_input_tty does not discard pending input, resulting in garbage inserted into the buffer which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 34821@debbugs.gnu.org. -- 34821: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34821 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems