Fix markup syntax error

timeout_old
Tassilo Horn 4 years ago
parent d366a96806
commit 08b66cf8ff
  1. 4
      src/window.rs

@ -35,9 +35,9 @@ impl<'a> std::fmt::Display for Window<'a> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
write!( write!(
f, f,
"<span weight=\"bold\"{}>{}</span> — {} [{}]", "<span font_weight=\"bold\" {}>{}</span> — {} [{}]",
if self.node.urgent { if self.node.urgent {
", background=\"red\"" " background=\"darkred\" foreground=\"white\""
} else { } else {
"" ""
}, },

Loading…
Cancel
Save