Skip to content

Commit

Permalink
Get rid of gap in title field when title not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
soumitradev committed Sep 26, 2022
1 parent e6d5ce8 commit b38c9af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TermLayouts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ function run()
width=lpanelw,
height=fullh,
style=prefs.panel1.border_color,
title=prefs.panel1.title,
title=length(prefs.panel1.title) > 0 ? prefs.panel1.title : nothing,
title_style=prefs.panel1.title_color,
)
rpanel = Term.Panel(
width=rpanelw,
height=fullh,
style=prefs.panel2.border_color,
title=prefs.panel2.title,
title=length(prefs.panel2.title) > 0 ? prefs.panel2.title : nothing,
title_style=prefs.panel2.title_color,
)
top = lpanel * rpanel
Expand Down

0 comments on commit b38c9af

Please sign in to comment.