From b18bda928f0c7889031ec0327b9468280dbc3791 Mon Sep 17 00:00:00 2001 From: Stuart Hinson Date: Wed, 5 Jan 2022 20:39:19 -0500 Subject: [PATCH] fix slash in search selector status message (#1449) --- helix-term/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index cac6f582..bf12b122 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1639,7 +1639,7 @@ fn search_selection(cx: &mut Context) { let query = doc.selection(view.id).primary().fragment(contents); let regex = regex::escape(&query); cx.editor.registers.get_mut('/').push(regex); - let msg = format!("register '{}' set to '{}'", '\\', query); + let msg = format!("register '{}' set to '{}'", '/', query); cx.editor.set_status(msg); }