Skip to content

Commit

Permalink
fix: correct feature flag typo for termwiz (#1088)
Browse files Browse the repository at this point in the history
underline-color was incorrectly spelt as underline_color
  • Loading branch information
joshka committed May 5, 2024
1 parent 4d1784f commit 5f1e119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/termwiz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 5f1e119

Please sign in to comment.