aboutsummaryrefslogtreecommitdiffstats
path: root/termui
diff options
context:
space:
mode:
Diffstat (limited to 'termui')
-rw-r--r--termui/label_select.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/termui/label_select.go b/termui/label_select.go
index 56404559..1a19a9e5 100644
--- a/termui/label_select.go
+++ b/termui/label_select.go
@@ -90,7 +90,7 @@ func (ls *labelSelect) layout(g *gocui.Gui) error {
maxX, maxY := g.Size()
ls.childViews = nil
- width := 0
+ width := 5
for _, label := range ls.labels {
width = maxInt(width, len(label))
}