aboutsummaryrefslogtreecommitdiff
path: root/ui/messages/html/base.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-02-19 21:54:53 +0200
committerTulir Asokan <tulir@maunium.net>2020-02-19 21:54:53 +0200
commit15e1d3f87c5e18f3429c49d21b30e66fb2a9cff7 (patch)
tree44146fe934a20cd688e83d5d059bd074b2ff633f /ui/messages/html/base.go
parentaf99c76d460f190e873ed88432c9a8b08324200b (diff)
Fix rendering formatted m.emotes
Diffstat (limited to 'ui/messages/html/base.go')
-rw-r--r--ui/messages/html/base.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/messages/html/base.go b/ui/messages/html/base.go
index 75cbd0c..fa4f3f0 100644
--- a/ui/messages/html/base.go
+++ b/ui/messages/html/base.go
@@ -92,4 +92,6 @@ func (be *BaseEntity) CalculateBuffer(width, startX int, bare bool) int {
return be.startX
}
-func (be *BaseEntity) Draw(screen mauview.Screen) {}
+func (be *BaseEntity) Draw(screen mauview.Screen) {
+ panic("Called Draw() of BaseEntity")
+}