Ammonite icon indicating copy to clipboard operation
Ammonite copied to clipboard

Strange exception with zio 2: Unknown ansi-escape [2m at index 238

Open domdorn opened this issue 2 years ago • 1 comments

see the corresponding issue in zio/zio https://github.com/zio/zio/issues/6987

reproduce with https://gist.github.com/domdorn/d1a909f2d99575a2153c789344ce5aa3

domdorn avatar Jun 27 '22 14:06 domdorn

That could probably be minimized a little. It seems zio prints some ANSI output, and fansi seems to choke on it. That probably can be reproduced by creating a string with the unsupported characters, like

@ val s = "\u????"

alexarchambault avatar Aug 12 '22 17:08 alexarchambault