goggles
goggles copied to clipboard
Some terminals can't display fancy unicode error messages
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.