mirror of
https://github.com/shazow/ssh-chat.git
synced 2026-11-30 03:42:17 +03:00
1 parent
338ded7a4e
commit
5057b891c0
1 file changed
+3
@@ -165,6 +165,9 @@ func (theme Theme) Highlight(s string) string {
|
||||
|
||||
// Timestamp colorizes the timestamp.
|
||||
func (theme Theme) Timestamp(s string) string {
|
||||
if theme.sys == nil {
|
||||
return s
|
||||
}
|
||||
return theme.sys.Format(s)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user