diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-04-10 16:07:16 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-04-10 16:07:16 +0300 |
commit | ee67c1446cbb3c446d59d4ebd9657a25bf0b702d (patch) | |
tree | 8179d7073d3a5fd522937104e1e912131b426919 /interface | |
parent | b6e58e83a8ed74f3e0a5f7f0955d264febd542ce (diff) |
Convert message buffer to use custom colorable strings
Diffstat (limited to 'interface')
-rw-r--r-- | interface/ui.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/interface/ui.go b/interface/ui.go index 0ddbde7..2d27ea8 100644 --- a/interface/ui.go +++ b/interface/ui.go @@ -87,8 +87,9 @@ type MessageMeta interface { SenderColor() tcell.Color TextColor() tcell.Color TimestampColor() tcell.Color - Timestamp() string - Date() string + Timestamp() time.Time + FormatTime() string + FormatDate() string CopyFrom(from MessageMeta) } |