You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
Consider adding styled method for all supported attributes. I can submit a PR if it's appropriate to do so.
Describe alternatives you've considered if any
Additional context
Stylize method helps simplify code like let text = "example".attribute(style::Attribute::Underlined) to let text = "example".underlined()
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Crossterm supports 28 attributes (See https://docs.rs/crossterm/latest/crossterm/style/enum.Attribute.html). However, only some of them have stylize method
crossterm/src/style/stylize.rs
Lines 105 to 115 in e104a7c
Describe the solution you'd like
Consider adding styled method for all supported attributes. I can submit a PR if it's appropriate to do so.
Describe alternatives you've considered if any
Additional context
Stylize method helps simplify code like
let text = "example".attribute(style::Attribute::Underlined)
tolet text = "example".underlined()
The text was updated successfully, but these errors were encountered: