mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 08:52:50 +08:00
Added Suckless Simple Terminal (st) to list of ansi terminals
This commit is contained in:
parent
8fa53f8fb1
commit
f085da76c1
@ -24,6 +24,7 @@ internal static class AnsiDetector
|
|||||||
new Regex("linux"), // Linux console
|
new Regex("linux"), // Linux console
|
||||||
new Regex("konsole"), // Konsole
|
new Regex("konsole"), // Konsole
|
||||||
new Regex("bvterm"), // Bitvise SSH Client
|
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)
|
public static (bool SupportsAnsi, bool LegacyConsole) Detect(bool stdError, bool upgrade)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user