aboutsummaryrefslogtreecommitdiff
path: root/ui/messages/html/codeblock.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/messages/html/codeblock.go')
-rw-r--r--ui/messages/html/codeblock.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/messages/html/codeblock.go b/ui/messages/html/codeblock.go
index 7f6b462..aee2bb4 100644
--- a/ui/messages/html/codeblock.go
+++ b/ui/messages/html/codeblock.go
@@ -48,7 +48,7 @@ func (ce *CodeBlockEntity) Clone() Entity {
func (ce *CodeBlockEntity) Draw(screen mauview.Screen) {
screen.Fill(' ', ce.Background)
- ce.BaseEntity.Draw(screen)
+ ce.ContainerEntity.Draw(screen)
}
func (ce *CodeBlockEntity) AdjustStyle(fn AdjustStyleFunc) Entity {