mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-13 07:37:17 +03:00
parent
338ded7a4e
commit
5057b891c0
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user