diff --git a/src/core/yossarian.scala b/src/core/yossarian.scala index 2d9bc2e..5b892b7 100644 --- a/src/core/yossarian.scala +++ b/src/core/yossarian.scala @@ -118,16 +118,16 @@ object Yossarian: given Debug[Style] = style => Map - (t"Bo" -> Bit.Bold(style), - t"F" -> Bit.Faint(style), - t"I" -> Bit.Italic(style), - t"S" -> Bit.Strike(style), - t"Bl" -> Bit.Blink(style), - t"U" -> Bit.Underline(style), - t"C" -> Bit.Conceal(style), - t"R" -> Bit.Reverse(style)) - .map { (key, value) => if value then key else t"!$key" } - .join(t"[", t" ", t" ${Foreground(style).inspect} ${Background(style).inspect}]") + (t"Bo" -> Bit.Bold(style), + t"F" -> Bit.Faint(style), + t"I" -> Bit.Italic(style), + t"S" -> Bit.Strike(style), + t"Bl" -> Bit.Blink(style), + t"U" -> Bit.Underline(style), + t"C" -> Bit.Conceal(style), + t"R" -> Bit.Reverse(style)) + . map { (key, value) => if value then key else t"!$key" } + . join(t"[", t" ", t" ${Foreground(style).inspect} ${Background(style).inspect}]") enum Bit: case Bold, Faint, Italic, Strike, Blink, Underline, Conceal, Reverse