Update macro display as [q] in message

This commit is contained in:
Ivan Tham 2021-12-12 22:05:11 +08:00 committed by Blaž Hrastnik
parent b9cb3930e2
commit ee3eb4057a

View File

@ -6020,12 +6020,12 @@ fn record_macro(cx: &mut Context) {
.join(" ");
cx.editor.registers.get_mut(reg).write(vec![s]);
cx.editor
.set_status(format!("Recorded to register {}", reg));
.set_status(format!("Recorded to register [{}]", reg));
} else {
let reg = cx.register.take().unwrap_or('@');
cx.editor.macro_recording = Some((reg, Vec::new()));
cx.editor
.set_status(format!("Recording to register {}", reg));
.set_status(format!("Recording to register [{}]", reg));
}
}