From 1e9cf24e4ceca8bfd48ff3e6f777fcec54b9a186 Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 13 May 2024 23:21:38 -0700 Subject: update crossterm to a version released in the last two years also bump rust-toolchain and edition of yaxpeax-arch --- src/color.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 Display for Colored { 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) => { -- cgit v1.1