4 ms·
Here's another implementation of what's described above, it forks on each invocation of readline to provide undo for interactive interpreters. https://github.co
by thomasballinger 5y ago
Here's another implementation of what's described above, it forks on each invocation of readline to provide undo for interactive interpreters. https://github.com/thomasballinger/rlundo https://github.com/thomasballinger/rlundo
- touisteur 5y agoOK I love this, and not just because of the calls to system(nc) :-) Your code made me think, maybe I'm tying myself into knots... But my thing is making hundred thousands of checkpoints so I'd have to have as many forks as savespoints. No way to coalesce parents, maybe reparenting could work there...