aboutsummaryrefslogtreecommitdiff
path: root/src/ui/panes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/panes.rs')
-rw-r--r--src/ui/panes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/panes.rs b/src/ui/panes.rs
index a1729cd6..c211ec9d 100644
--- a/src/ui/panes.rs
+++ b/src/ui/panes.rs
@@ -282,7 +282,7 @@ pub(super) fn render_panes(
.and_then(|terminal| {
terminal.border_label(app.show_agent_labels_on_pane_borders)
})
- .and_then(|label| pane_border_title(label, info.rect.width))
+ .and_then(|label| pane_border_title(&label, info.rect.width))
{
block = block.title(Line::from(Span::styled(title, border_style)));
}