Update nu-ansi-term, lscolors, and reedline (#9787)

# Description
Now use `nu-ansi-term` 0.49
Small adjustments to accommodate breaking changes.


# User-Facing Changes
None
This commit is contained in:
Stefan Holderbach
2023-07-24 13:16:18 +02:00
committed by GitHub
parent 4d0b6d8821
commit d7ebe5fdc3
14 changed files with 32 additions and 37 deletions

View File

@ -26,5 +26,6 @@ fn merge_styles(base: Style, extra: Style) -> Style {
is_reverse: extra.is_reverse || base.is_reverse,
is_hidden: extra.is_hidden || base.is_hidden,
is_strikethrough: extra.is_strikethrough || base.is_strikethrough,
prefix_with_reset: false,
}
}

View File

@ -186,6 +186,7 @@ impl TextStyle {
is_reverse: style.is_reverse,
is_hidden: style.is_hidden,
is_strikethrough: style.is_strikethrough,
prefix_with_reset: false,
}),
}
}
@ -235,6 +236,7 @@ impl TextStyle {
is_reverse: style.is_reverse,
is_hidden: style.is_hidden,
is_strikethrough: style.is_strikethrough,
prefix_with_reset: false,
})
}
}