Ver Fonte

Update line length before doing tests.

Steve Thielemann há 2 anos atrás
pai
commit
a1690660ab
1 ficheiros alterados com 2 adições e 0 exclusões
  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 {