diff --git a/list/list.go b/list/list.go index 4e2ec2d..aace11c 100644 --- a/list/list.go +++ b/list/list.go @@ -1036,7 +1036,10 @@ func (m Model) titleView() string { } } - return titleBarStyle.Render(view) + if len(view) > 0 { + return titleBarStyle.Render(view) + } + return view } func (m Model) statusView() string {