From 0e037802c208d94cc0feca2552740907a308ad8e Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Mon, 12 Dec 2022 20:22:04 -0600 Subject: [PATCH] Use an overlayed component for the topics picker This prevents the topics file picker from consuming the whole screen and makes it consistent with the standard file and buffer pickers. --- helix-term/src/commands/typed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 60841aa0d..1dc41dac4 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -1863,7 +1863,7 @@ fn help(cx: &mut compositor::Context, args: &[Cow], event: PromptEvent) -> }, |_editor, Topic(path)| Some((path.clone().into(), None)), ); - compositor.push(Box::new(picker)); + compositor.push(Box::new(overlayed(picker))); }, ));