From 15469db81f898466cea1e02d62e149950762fb71 Mon Sep 17 00:00:00 2001 From: Elizabeth Date: Fri, 10 May 2024 15:49:47 +0100 Subject: [PATCH] Fixed statusline breaking change --- helix-term/src/ui/statusline.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/helix-term/src/ui/statusline.rs b/helix-term/src/ui/statusline.rs index 76177a741..f9b556a93 100644 --- a/helix-term/src/ui/statusline.rs +++ b/helix-term/src/ui/statusline.rs @@ -533,10 +533,10 @@ where } } -fn render_zoom<'a>(context: &RenderContext) -> Spans<'a> { +fn render_zoom(context: &mut RenderContext, write: F) +where + F: Fn(&mut RenderContext, String, Option