mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 13:06:08 +02:00
update to latest reedline, change config point name, enable output without ansi (#458)
This commit is contained in:
@ -954,7 +954,7 @@ impl WrappedTable {
|
||||
}
|
||||
|
||||
// the atty is for when people do ls from vim, there should be no coloring there
|
||||
if config.without_color || !atty::is(atty::Stream::Stdout) {
|
||||
if !config.use_ansi_coloring || !atty::is(atty::Stream::Stdout) {
|
||||
// Draw the table without ansi colors
|
||||
if let Ok(bytes) = strip_ansi_escapes::strip(&output) {
|
||||
String::from_utf8_lossy(&bytes).to_string()
|
||||
|
Reference in New Issue
Block a user