Skip to content

Commit b18bda9

Browse files
authored
fix slash in search selector status message (#1449)
1 parent 7767703 commit b18bda9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helix-term/src/commands.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1639,7 +1639,7 @@ fn search_selection(cx: &mut Context) {
16391639
let query = doc.selection(view.id).primary().fragment(contents);
16401640
let regex = regex::escape(&query);
16411641
cx.editor.registers.get_mut('/').push(regex);
1642-
let msg = format!("register '{}' set to '{}'", '\\', query);
1642+
let msg = format!("register '{}' set to '{}'", '/', query);
16431643
cx.editor.set_status(msg);
16441644
}
16451645

0 commit comments

Comments
 (0)