From cfb44fe3cf07d66cf4888b014a317f155eeb6e4f Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 9 Oct 2026 08:35:15 -0400 Subject: [PATCH] StdIo: Add screen.xterm-256color to list of supported TERM types Fixes: #28151 --- Source/cmStdIoStream.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmStdIoStream.cxx b/Source/cmStdIoStream.cxx index 5aa9a065a3..37ddd4efa2 100644 --- a/Source/cmStdIoStream.cxx +++ b/Source/cmStdIoStream.cxx @@ -43,7 +43,7 @@ namespace { #else // List of known `TERM` names that support VT100 escape sequences. // Order by `LC_COLLATE=C sort` to search using `std::lower_bound`. -std::array const kVT100Names{ { +std::array const kVT100Names{ { "Eterm"_s, "alacritty"_s, "alacritty-direct"_s, @@ -88,6 +88,7 @@ std::array const kVT100Names{ { "screen-bce"_s, "screen-w"_s, "screen.linux"_s, + "screen.xterm-256color"_s, "st-256color"_s, "tmux"_s, "tmux-256color"_s,