aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorStuart Hinson2022-01-06 01:39:19 +0000
committerGitHub2022-01-06 01:39:19 +0000
commitb18bda928f0c7889031ec0327b9468280dbc3791 (patch)
tree5631b3f2fad8c06b4b4260b42d32b15f813c52d9 /helix-term/src
parent77677039795811505d8205f4efa082fc598492fc (diff)
fix slash in search selector status message (#1449)
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
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);
}