Issue:

How to set the right-click as the Enter key to use the right-click to confirm during command execution.

Solution:

Input the OPTIONS command and press Enter. On the User Preferences page, click Right-click customization and set If a command is in progress, right-click means to ENTER.