Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
thomasballinger
· 8y ago · 0 comments
Here's an idea that I like (so much that I wrote an implementation): use LD_PRELOAD to swap out readline with version that forks on each input. Kill the forked child process and you have undo!
https://github.com/thomasballinger/rlundo
post:
http://ballingt.com/interactive-interpreter-undo/#hacking-fo...
Comments
No comments yet.
Better HN