aboutsummaryrefslogtreecommitdiff
path: root/ui/messages/message.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2019-04-07 18:21:38 +0300
committerTulir Asokan <tulir@maunium.net>2019-04-07 18:21:38 +0300
commitb0c4ef81e9a1c7d9376685875d795ad3b5d8db01 (patch)
tree57f4ffa5957fa89aa1b65927b0259c7eb6965959 /ui/messages/message.go
parent21b81ccb2716d73cde4eda805cf1f5ea1642412e (diff)
More changes to do #91
Diffstat (limited to 'ui/messages/message.go')
-rw-r--r--ui/messages/message.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/messages/message.go b/ui/messages/message.go
index e1888e6..db93879 100644
--- a/ui/messages/message.go
+++ b/ui/messages/message.go
@@ -19,7 +19,7 @@ package messages
import (
"maunium.net/go/gomuks/config"
"maunium.net/go/gomuks/interface"
- "maunium.net/go/gomuks/ui/messages/tstring"
+ "maunium.net/go/mauview"
)
// UIMessage is a wrapper for the content and metadata of a Matrix message intended to be displayed.
@@ -27,7 +27,7 @@ type UIMessage interface {
ifc.Message
CalculateBuffer(preferences config.UserPreferences, width int)
- Buffer() []tstring.TString
+ Draw(screen mauview.Screen)
Height() int
PlainText() string