Subject: [PATCH] Make the Contour terminal an alias of xterm-256color
From: Yaraslau Tamashevich <[email-masked]>
To: [email-masked]
Date: Fri, 23 Dec 2022 11:51:45 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

here is a small patch to allow Emacs proper handling of Contour terminal

Best regards,

Yaraslau
From d500ec89d09d5bb8e24bc894cc6d99c07357332a Mon Sep 17 00:00:00 2001
From: Yaraslau Tamashevich <[email-masked]>
Date: Fri, 23 Dec 2022 11:39:25 +0200
Subject: [PATCH] Make the Contour terminal an alias of xterm-256color

* lisp/faces.el (term-file-aliases): Make the Contour terminal an alias of
xterm-256color
---
 lisp/faces.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/faces.el b/lisp/faces.el
index c69339e2fd..29e26e4c65 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -47,7 +47,8 @@ term-file-aliases
     ("vt400" . "vt200")
     ("vt420" . "vt200")
     ("alacritty" . "xterm")
-    ("foot" . "xterm"))
+    ("foot" . "xterm")
+    ("contour" . "xterm"))
   "Alist of terminal type aliases.
 Entries are of the form (TYPE . ALIAS), where both elements are strings.
 This means to treat a terminal of type TYPE as if it were of type ALIAS."
-- 
2.39.0