Line buffer editor (#5381)

* allow line editing

* cargo fmt
This commit is contained in:
Fernando Herrera
2022-04-30 15:40:41 +01:00
committed by GitHub
parent 5999506f87
commit 9da2e142b2
4 changed files with 14 additions and 1 deletions

View File

@ -161,6 +161,8 @@ pub fn evaluate_repl(
}
};
line_editor = line_editor.with_buffer_editor(config.buffer_editor.clone(), "nu".into());
if config.sync_history_on_enter {
if is_perf_true {
info!("sync history {}:{}:{}", file!(), line!(), column!());