mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 08:40:14 +02:00
updated dependencies (#2857)
Same as #2786 Co-authored-by: sousajo <sousajo@pop-os.localdomain> Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com>
This commit is contained in:
@ -120,7 +120,7 @@ pub fn view_text_value(value: &Value) {
|
||||
Some(file_path) => {
|
||||
// Let bat do it's thing
|
||||
bat::PrettyPrinter::new()
|
||||
.input_from_bytes_with_name(s.as_bytes(), file_path)
|
||||
.input(bat::Input::from_bytes(s.as_bytes()).name(file_path))
|
||||
.term_width(term_width as usize)
|
||||
.tab_width(Some(tab_width as usize))
|
||||
.colored_output(colored_output)
|
||||
|
Reference in New Issue
Block a user