mirror of https://github.com/helix-editor/helix
Update macro display as [q] in message
parent
b9cb3930e2
commit
ee3eb4057a
|
@ -6020,12 +6020,12 @@ fn record_macro(cx: &mut Context) {
|
||||||
.join(" ");
|
.join(" ");
|
||||||
cx.editor.registers.get_mut(reg).write(vec![s]);
|
cx.editor.registers.get_mut(reg).write(vec![s]);
|
||||||
cx.editor
|
cx.editor
|
||||||
.set_status(format!("Recorded to register {}", reg));
|
.set_status(format!("Recorded to register [{}]", reg));
|
||||||
} else {
|
} else {
|
||||||
let reg = cx.register.take().unwrap_or('@');
|
let reg = cx.register.take().unwrap_or('@');
|
||||||
cx.editor.macro_recording = Some((reg, Vec::new()));
|
cx.editor.macro_recording = Some((reg, Vec::new()));
|
||||||
cx.editor
|
cx.editor
|
||||||
.set_status(format!("Recording to register {}", reg));
|
.set_status(format!("Recording to register [{}]", reg));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue