commit b2476b1
Hubert Hirtz
·
2021-04-27 09:15:17 +0000 UTC
parent c652dad
Blacklist more colors
1 files changed,
+3,
-1
+3,
-1
1@@ -227,7 +227,9 @@ func colorFromCode(code int) (color tcell.Color) {
2 }
3
4 // see <https://modern.ircdocs.horse/formatting.html>
5-var identColorBlacklist = []int{1, 8, 16, 27, 28, 88, 89, 90, 91}
6+var identColorBlacklist = []int{
7+ 1, 8, 16, 17, 24, 27, 28, 36, 48, 60, 88, 89, 90, 91,
8+}
9
10 func IdentColor(s string) (code int) {
11 h := fnv.New32()