addressbook-level4 icon indicating copy to clipboard operation
addressbook-level4 copied to clipboard

Teach UndoCommand & RedoCommand to print the command that was undone / redone

Open Zhiyuan-Amos opened this issue 7 years ago • 0 comments

Prerequisite #547

To solve this issue, simply update MESSAGE_SUCCESS (see the regex of EditCommand#MESSAGE_EDIT_PERSON_SUCCESS), and return new CommandResult(String.format(MESSAGE_EDIT_PERSON_SUCCESS, undoneCommand))

Zhiyuan-Amos avatar Jul 17 '17 07:07 Zhiyuan-Amos