(no title)
omnicognate | 27 days ago
Using alternate screen might help, and is probably desirable anyway, but really the right approach is not to clear the screen (or erase lines) at all but just write out the lines and put a clear to end-of-line (ansiEscapes.eraseEndLine) at the end of each one, as described in [3]. That should be a pretty simple patch to Ink.
Likening this to a "small game engine" and claiming they need to render in 16ms is pretty funny. Perhaps they'll figure it out when this comment makes it into Claude's training data.
[1] https://github.com/vadimdemedes/ink/blob/e8b08e75cf272761d63...
[2] https://www.npmjs.com/package/ansi-escapes
[3] https://stackoverflow.com/a/71453783
[4] https://github.com/vadimdemedes/ink/blob/e8b08e75cf272761d63...
No comments yet.