From 47d47f47f5986d7e85b719e3bbac51d1acf7a0b9 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Sun, 24 Jan 2021 12:16:27 +0100 Subject: [PATCH] Display swayr/swaymsg commands in bold --- src/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.rs b/src/client.rs index 03d5997..1b1597b 100644 --- a/src/client.rs +++ b/src/client.rs @@ -24,7 +24,7 @@ pub enum SwayrCommand { impl fmt::Display for SwayrCommand { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { - write!(f, "{:?}", self) + write!(f, "{:?}", self) } } @@ -228,7 +228,7 @@ struct SwaymsgCmd<'a> { impl<'a> fmt::Display for SwaymsgCmd<'a> { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { - write!(f, "{}", self.cmd.join(" ")) + write!(f, "{}", self.cmd.join(" ")) } }