update to latest reedline, change config point name, enable output without ansi (#458)

This commit is contained in:
Darren Schroeder
2021-12-09 16:06:26 -06:00
committed by GitHub
parent 3dc19d4179
commit 5c27ffa42e
4 changed files with 11 additions and 7 deletions

View File

@ -309,7 +309,10 @@ fn main() -> Result<()> {
// ))
.with_validator(Box::new(NuValidator {
engine_state: engine_state.clone(),
}));
}))
.with_ansi_colors(config.use_ansi_coloring);
//FIXME: if config.use_ansi_coloring is false then we should
// turn off the hinter but I don't see any way to do that yet.
let mut line_editor = if let Some(history_path) = history_path.clone() {
line_editor