Press left arrow key to undo or right arrow key to redo.