summaryrefslogtreecommitdiff
path: root/ui/style.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtz.pm>2021-04-27 11:15:17 +0200
committerHubert Hirtz <hubert@hirtz.pm>2021-04-27 11:15:17 +0200
commitb2476b160770284f681ba0dfa90a4e9def82c626 (patch)
tree5735b25292ff49d942ce140f52a2283edb0239c1 /ui/style.go
parentSplit long messages before sending them (diff)
Blacklist more colors
Diffstat (limited to '')
-rw-r--r--ui/style.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/style.go b/ui/style.go
index acc1a41..d86e9f4 100644
--- a/ui/style.go
+++ b/ui/style.go
@@ -227,7 +227,9 @@ func colorFromCode(code int) (color tcell.Color) {
}
// see <https://modern.ircdocs.horse/formatting.html>
-var identColorBlacklist = []int{1, 8, 16, 27, 28, 88, 89, 90, 91}
+var identColorBlacklist = []int{
+ 1, 8, 16, 17, 24, 27, 28, 36, 48, 60, 88, 89, 90, 91,
+}
func IdentColor(s string) (code int) {
h := fnv.New32()