Currently add:last simply retrieves the penultimate line of the users history. However this behavior is not sufficient for multiline commands.
The command should also be displayed correctly inside the detail view, so that each line of the string is actually a new line.