aboutsummaryrefslogtreecommitdiff
path: root/ui/messages/message.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2019-04-10 01:42:27 +0300
committerTulir Asokan <tulir@maunium.net>2019-04-10 01:42:27 +0300
commit06c306bee91ce2b7e7b5f32fad7c3f8b5b38d883 (patch)
treec5deabd2e86e3a40d86a7173a1a49c874ad99690 /ui/messages/message.go
parentbbde1219479bb257c7bc1f9546bd67e8a151198c (diff)
Fix date change messages and input submit handling
Diffstat (limited to 'ui/messages/message.go')
-rw-r--r--ui/messages/message.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/messages/message.go b/ui/messages/message.go
index bd78e5d..c1f2014 100644
--- a/ui/messages/message.go
+++ b/ui/messages/message.go
@@ -35,6 +35,7 @@ type UIMessage interface {
TimestampColor() tcell.Color
FormatTime() string
FormatDate() string
+ SameDate(message UIMessage) bool
CalculateBuffer(preferences config.UserPreferences, width int)
Draw(screen mauview.Screen)