Open Anniepoo opened 9 years ago
I/O must be redefined to use pengine_output/1. This is done in pengines_io.pl. It won't be very hard to emulate ansi_format/3, but is it of any use, or should we aim at a more general safe HTML output?
Not sure I understand what you're thinking of. I was thinking of programs that need retrofitted, but definitely we should have a more general solution. dmiles has some ansi-colored program he wants to swish-ify, that's what started this. We were trying to figure out how to make a custom renderer.
In some world it might be nice if pengine IO happened in 'flavors', like copy/paste, so if you get HTML in a web page you use it, if not use text, etc.
I assume this is because it's not implemented.