on master help sign in
Update macro display as [q] in message
ee3eb40Ivan Tham
helix-term/src/commands.rs+2−2
@@ -6020,12 +6020,12 @@ fn record_macro(cx: &mut Context) {
6020 .join(" ");
6020 .join(" ");
6021 cx.editor.registers.get_mut(reg).write(vec![s]);
6021 cx.editor.registers.get_mut(reg).write(vec![s]);
6022 cx.editor
6022 cx.editor
6023− .set_status(format!("Recorded to register {}", reg));
6023+ .set_status(format!("Recorded to register [{}]", reg));
6024 } else {
6024 } else {
6025 let reg = cx.register.take().unwrap_or('@');
6025 let reg = cx.register.take().unwrap_or('@');
6026 cx.editor.macro_recording = Some((reg, Vec::new()));
6026 cx.editor.macro_recording = Some((reg, Vec::new()));
6027 cx.editor
6027 cx.editor
6028− .set_status(format!("Recording to register {}", reg));
6028+ .set_status(format!("Recording to register [{}]", reg));
6029 }
6029 }
6030}
6030}
6031
6031