Closed Thomaslongwell closed 4 days ago
For undo and redo memento design pattern Two stacks: history(undo) and redo stack Ex: add class goes in undo opposite (remove class) redo (pop undo and put into redo stack) https://refactoring.guru/design-patterns/memento
we will need to ask if the CLI requires this functionality before programming it specific to the GUI
Other Thoughts
For undo and redo memento design pattern Two stacks: history(undo) and redo stack Ex: add class goes in undo opposite (remove class) redo (pop undo and put into redo stack) https://refactoring.guru/design-patterns/memento