mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-10 07:04:17 +00:00
fix: correct feature flag typo for termwiz (#1088)
underline-color was incorrectly spelt as underline_color
This commit is contained in:
parent
4d1784f2de
commit
5f1e119563
1 changed files with 2 additions and 2 deletions
|
@ -271,7 +271,7 @@ impl From<CellAttributes> for Style {
|
|||
|
||||
style.fg = Some(value.foreground().into());
|
||||
style.bg = Some(value.background().into());
|
||||
#[cfg(feature = "underline_color")]
|
||||
#[cfg(feature = "underline-color")]
|
||||
{
|
||||
style.underline_color = Some(value.underline_color().into());
|
||||
}
|
||||
|
@ -600,7 +600,7 @@ mod tests {
|
|||
Style::new().fg(Color::Reset).bg(Color::Indexed(31))
|
||||
);
|
||||
// underline color
|
||||
#[cfg(feature = "underline_color")]
|
||||
#[cfg(feature = "underline-color")]
|
||||
assert_eq!(
|
||||
Style::from(
|
||||
CellAttributes::default()
|
||||
|
|
Loading…
Reference in a new issue