mirror of
https://github.com/danbulant/nushell
synced 2026-05-24 12:35:59 +00:00
parent
9d24b440bb
commit
04e8aa31fe
1 changed files with 3 additions and 1 deletions
|
|
@ -644,7 +644,9 @@ pub async fn cli(
|
||||||
.map(|i| i.value.expect_int())
|
.map(|i| i.value.expect_int())
|
||||||
.unwrap_or(100_000);
|
.unwrap_or(100_000);
|
||||||
|
|
||||||
rl.set_max_history_size(max_history_size as usize);
|
// rl.set_max_history_size(max_history_size as usize);
|
||||||
|
rustyline::config::Configurer::set_max_history_size(&mut rl, max_history_size as usize);
|
||||||
|
rustyline::Editor::set_max_history_size(&mut rl, max_history_size as usize);
|
||||||
|
|
||||||
let key_timeout = config
|
let key_timeout = config
|
||||||
.get("key_timeout")
|
.get("key_timeout")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue