fixed display bugs when using Emacs in a terminal
fixed display bugs when using Emacs in a terminal