summaryrefslogtreecommitdiff
path: root/ui/style.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/style.go')
-rw-r--r--ui/style.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/style.go b/ui/style.go
index f6e8c39..8672535 100644
--- a/ui/style.go
+++ b/ui/style.go
@@ -169,6 +169,14 @@ func (cb *colorBuffer) WriteRune(r rune) (ok int) {
return
}
+const (
+ ColorWhite = iota
+ ColorBlack
+ ColorBlue
+ ColorGreen
+ ColorRed
+)
+
var ansiCodes = []tcell.Color{
// Taken from <https://modern.ircdocs.horse/formatting.html>
tcell.ColorWhite, tcell.ColorBlack, tcell.ColorBlue, tcell.ColorGreen,