Make prompts consistent (#1080)

pull/1091/head
Omnikar 3 years ago committed by GitHub
parent d3def16584
commit 6d4409c00f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1367,7 +1367,7 @@ fn global_search(cx: &mut Context) {
let completions = search_completions(cx, None); let completions = search_completions(cx, None);
let prompt = ui::regex_prompt( let prompt = ui::regex_prompt(
cx, cx,
"global search:".into(), "global-search:".into(),
None, None,
move |input: &str| { move |input: &str| {
completions completions
@ -5154,7 +5154,7 @@ fn add_newline_impl(cx: &mut Context, open: Open) {
fn rename_symbol(cx: &mut Context) { fn rename_symbol(cx: &mut Context) {
let prompt = Prompt::new( let prompt = Prompt::new(
"Rename to: ".into(), "rename-to:".into(),
None, None,
|_input: &str| Vec::new(), |_input: &str| Vec::new(),
move |cx: &mut compositor::Context, input: &str, event: PromptEvent| { move |cx: &mut compositor::Context, input: &str, event: PromptEvent| {

Loading…
Cancel
Save