diff --git a/main/term.c b/main/term.c
index fbe093f800006b73e6574c728de80eedae3b0d1e..e757d9321f1a519fa6f3061bcfc67345bf423c6b 100644
--- a/main/term.c
+++ b/main/term.c
@@ -144,6 +144,8 @@ int ast_term_init(void)
 			vt100compat = 1;
 		} else if (!strcmp(term, "xterm-color")) {
 			vt100compat = 1;
+		} else if (!strcmp(term, "xterm-256color")) {
+			vt100compat = 1;
 		} else if (!strncmp(term, "Eterm", 5)) {
 			/* Both entries which start with Eterm support color */
 			vt100compat = 1;