From 6fe3243692bbac481981ab484dbf13de8733475f Mon Sep 17 00:00:00 2001 From: Jon Pretty Date: Wed, 11 Dec 2024 14:36:22 +0100 Subject: [PATCH] Tweak to style --- src/core/yossarian.scala | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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