Skip to main content

Undo

The undo command reverses the last change to the drawing — one step per invocation. Each addition, deletion, or edit of entities is recorded as a separate history entry. Undo steps back through these entries in reverse order.

How to undo

  • Type undo in the terminal, or
  • Click the Undo toolbar button.

Each invocation reverses one recorded action. Invoke it repeatedly to step further back.

History behaviour

DetailValue
Steps per fileUp to 20
StorageBrowser (IndexedDB / localStorage), per file name
Survives page reloadYes — history is restored when you reopen the file
New action after undoClears all redo entries ahead of the current position
Oldest entry when fullDropped to make room for the newest change

Every entity mutation is recorded: drawing new entities, deleting entities, grip-editing endpoints, applying Move, Rotate, Scale, Mirror, Trim, Extend, and Offset all create history entries.

Undo vs Redo

UndoRedo
DirectionSteps backward through historySteps forward through undone entries
Available whenAt least one recorded action existsAt least one Undo has been performed and no new action has been taken
Cleared byNothing — history accumulates until the 20-step limitAny new drawing action

Use Redo to reapply an undone action. The toolbar buttons are greyed out when the respective direction is unavailable.