diff options
author | iximeow <me@iximeow.net> | 2024-05-13 23:21:38 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2024-05-13 23:21:38 -0700 |
commit | 1e9cf24e4ceca8bfd48ff3e6f777fcec54b9a186 (patch) | |
tree | caa1c0e9173d76110b3441daa564687b99bc07b0 /src/color.rs | |
parent | cf6714dd85f787fc527936495d2dee5cd41479df (diff) |
update crossterm to a version released in the last two years
also bump rust-toolchain and edition of yaxpeax-arch
Diffstat (limited to 'src/color.rs')
-rw-r--r-- | src/color.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/color.rs b/src/color.rs index d50ec8b..e7cb60c 100644 --- a/src/color.rs +++ b/src/color.rs @@ -13,6 +13,7 @@ impl <T: Display> Display for Colored<T> { fn fmt(&self, fmt: &mut Formatter) -> fmt::Result { match self { Colored::Color(t, before) => { + use crossterm::style::Stylize; write!(fmt, "{}", style::style(t).with(*before)) }, Colored::Just(t) => { |