Browse Source

Update line length before doing tests.

Steve Thielemann 2 years ago
parent
commit
a1690660ab
1 changed files with 2 additions and 0 deletions
  1. 2 0
      door/panel.go

+ 2 - 0
door/panel.go

@@ -54,6 +54,8 @@ func (p *Panel) Output() string {
 
 	for _, line := range p.Lines {
 		output += Goto(p.X, row)
+		line.LineLength(&line.Text)
+
 		var joined bool = false
 
 		if style > 0 {