goggles icon indicating copy to clipboard operation
goggles copied to clipboard

Some terminals can't display fancy unicode error messages

Open kenbot opened this issue 6 years ago • 0 comments

On my poor Windows 10 default, the unicode borders of the fancy error tables turn into question marks:


 Sections  ? Types                         ? Optics
???????????????????????????????????????????????????????????????????????
 $myBasket ? ShoppingBasket                ?
 .items    ? ShoppingBasket  ?  List[Item] ? Getter
 *         ? List[Item]      ?  Item       ? Traversal, returning Fold
 name      ? Item            ?  ???        ?

       get"$myBasket.items*.name"
                            ^

I wonder if there's some way to detect this, and switch to ASCII hyphens & pipes - or just use them and forget the fancy stuff.

kenbot avatar Jul 11 '19 12:07 kenbot