Applies to 2021.1 Update and later
Repeat commands or command input using Recent Input on the shortcut menu.

Recent Input is now available on the shortcut menu. If no command is active, the Recent Input menu contains the recent commands. If a command is active, the menu contains recent coordinates.

Use the system variable, INPUTHISTORYMODE, to control the content and location of the user input history.