Added Suckless Simple Terminal (st) to list of ansi terminals

This commit is contained in:
picture-vision 2022-10-13 11:02:59 +02:00 committed by Patrik Svensson
parent 8fa53f8fb1
commit f085da76c1

View File

@ -24,6 +24,7 @@ internal static class AnsiDetector
new Regex("linux"), // Linux console
new Regex("konsole"), // Konsole
new Regex("bvterm"), // Bitvise SSH Client
new Regex("^st-256color"), // Suckless Simple Terminal, st
};
public static (bool SupportsAnsi, bool LegacyConsole) Detect(bool stdError, bool upgrade)
@ -131,4 +132,4 @@ internal static class AnsiDetector
}
}
}
}
}