Four buttons, four code lines, one rule: save what's ahead before you overwrite the link to it. Press Rewire before Save NEXT, and the rest of the list is genuinely gone β the state itself is destroyed, not just hidden.
Pointer State
Controls
π§ RewireSave next, then flip curr's arrow, then slide prev and curr forward. Same four moves, every node.
π³οΈ HoleAnything nobody points to anymore falls into me. Permanently.