Make prompts consistent (#1080)

This commit is contained in:
Omnikar 2021-11-12 11:34:49 -05:00 committed by GitHub
parent d3def16584
commit 6d4409c00f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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