Unnamed repository; edit this file 'description' to name the repository.
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.
Michael Davis 2022-12-13
parent 19111e1 · commit 0e03780
-rw-r--r--helix-term/src/commands/typed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs
index 60841aa0..1dc41dac 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<str>], event: PromptEvent) ->
},
|_editor, Topic(path)| Some((path.clone().into(), None)),
);
- compositor.push(Box::new(picker));
+ compositor.push(Box::new(overlayed(picker)));
},
));