A record of all the previous indices the cursor was at preceding an operation.
List<int> history = [];