3 ms·
Check out this comment by jart (cosmpolitan author) here: https://github.com/jart/cosmopolitan/issues/766#issuecomment-1465188083 https://github.com/jart/cosmop
by keepamovin 3y ago
Check out this comment by jart (cosmpolitan author) here: https://github.com/jart/cosmopolitan/issues/766#issuecomment-1465188083 https://github.com/jart/cosmopolitan/issues/766#issuecomment...
it might help but not sure how comprehensive it is! would it be a bad idea for you to check out the source code of other popular emulators (maybe iTerm 2^0) ?
0: https://github.com/search?q=repo%3Agnachman%2FiTerm2%20ansi&type=code https://github.com/search?q=repo%3Agnachman%2FiTerm2%20ansi&...
- hnlmorg 3y agoI’ve using the source for other emulators as a reference for getting things like PTYs right. But I found them to be generally hard to grok for understanding the behaviours of the more esoteric escape sequences. Simple stuff like SGR is quite readable but there’s already a lot of documentation out there for SGR. Thanks for the links, I’ll have a read through them