Hi, here is a small patch to allow Emacs proper handling of Contour terminal Best regards, Yaraslau