mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-14 16:02: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("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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user