Add filename completer for shell prompt (#7569)

pull/7575/head
Alberto Romero 1 year ago committed by GitHub
parent 618620b369
commit 507dd50860
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5401,7 +5401,7 @@ fn shell_prompt(cx: &mut Context, prompt: Cow<'static, str>, behavior: ShellBeha
cx, cx,
prompt, prompt,
Some('|'), Some('|'),
ui::completers::none, ui::completers::filename,
move |cx, input: &str, event: PromptEvent| { move |cx, input: &str, event: PromptEvent| {
if event != PromptEvent::Validate { if event != PromptEvent::Validate {
return; return;

Loading…
Cancel
Save