fansi icon indicating copy to clipboard operation
fansi copied to clipboard

Make errorMode implicit

Open andrelfpinto opened this issue 2 years ago • 0 comments

Hello, thanks for the awesome libraries you have made!

Can we make errorMode in

def apply(raw: CharSequence, errorMode: ErrorMode = ErrorMode.Throw): fansi.Str

implicit?

That way would be possible to overwrite it when using PPrint as in com-lihaoyi/PPrint#35 and com-lihaoyi/PPrint#78, and in my case when using Almond, when we don't have control of the underlying code.

andrelfpinto avatar Feb 08 '23 19:02 andrelfpinto